How to rearrange matrix elements by making last row as first row, etc?
32 views (last 30 days)
Show older comments
Hi all
I have a 199x144 matrix but I want to switch the rows by starting from last row first. i.e.making last row as first row, row 198 as row 2, row 197 as row 3, and so on... Is there an easy way to do this?? (I could only think of looping by element but that will take so much time especially for bigger matrices).
Any help is appreciated! Thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Elementary Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!