RESPECT!!!
I didn't knew the function "shiftdim"... I use always "permute" for this purpose. :-P
Very nice!!!
Sum all integers from 1 to 2^n
8687 Solvers
254 Solvers
351 Solvers
385 Solvers
1045 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!