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 3n+1 sequence for n
8527 Solvers
-
Number of 1s in the Binary Representation of a Number
484 Solvers
-
409 Solvers
-
1055 Solvers
-
91 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!