Rotate a Matrix by -90 degrees
Example: X =
1 2 3
4 5 6
7 8 9output =
7 4 1
8 5 2
9 6 3
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers194
Suggested Problems
-
Which values occur exactly three times?
5253 Solvers
-
Number of 1s in a binary string
11559 Solvers
-
Return the first and last characters of a character array
12422 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
629 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!