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.
1119 Solvers
1944 Solvers
Remove the polynomials that have positive real elements of their roots.
648 Solvers
middleAsColumn: Return all but first and last element as a column vector
426 Solvers
Check if number exists in vector
5104 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!