Rotate the given matrix by 90 degrees.
Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers160
Suggested Problems
-
Get the length of a given vector
13770 Solvers
-
Find the maximum number of decimal places in a set of numbers
3609 Solvers
-
801 Solvers
-
Find out value of sine given by degree.
358 Solvers
-
Rotate a matrix for 180 degree
218 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!