Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers722
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
486 Solvers
-
310 Solvers
-
Switch matrix to a column vector
378 Solvers
-
1781 Solvers
-
Flip the vector from right to left
11365 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
why i cannot use seqreverse here?
You should make more test suites, currently you can just set y to the one correct result.
I like how rot90() function was used here. But yeah, I agree with others too. Please create more test cases.