Problem 43270. Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees
Example: X =
1 2 3 4 5 6 7 8 9
output =
7 4 1 8 5 2 9 6 3
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers187
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3034 Solvers
-
857 Solvers
-
Add a row of zeros on top of a matrix
259 Solvers
-
315 Solvers
-
Find remainder when x is divided by 3
163 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!