Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without using any extra memory.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers28
Suggested Problems
-
Return the largest number that is adjacent to a zero
5527 Solvers
-
378 Solvers
-
Add a row of zeros on top of a matrix
268 Solvers
-
Find my daddy long leg (No 's')
2818 Solvers
-
119 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!