I've learned from this and similar solutions of the use of shiftdim with a negative number. This may well be handy for future programming. Thanks for showing us this feature.
819 Solvers
351 Solvers
Back to basics 24 - Symbolic variables
129 Solvers
Getting the indices from a vector
3219 Solvers
369 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!