This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Aaron Rothlisberger
on 9 Aug 2017
Why isn't this acceptable?
B = A(:,[end, 2:end-1, 1])
Tang
on 12 Aug 2017
When A is a number,end-1=0;it will be wrong;
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!