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.
Given two strings, find the maximum overlap
468 Solvers
728 Solvers
175 Solvers
379 Solvers
Area of an equilateral triangle
2905 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!