Problem 623. Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
Solution Stats
Problem Comments
- 
		3 Comments
		Riazul Arefin
    	on 20 Mar 2015
	
	
  	why i cannot use seqreverse here?
		Monica Roberts
    	on 5 Aug 2015
	
	
  	You should make more test suites, currently you can just set y to the one correct result.
		Rahul Gulia
    	on 9 Oct 2021
	
	
  	I like how rot90() function was used here. But yeah, I agree with others too. Please create more test cases.
Solution Comments
Show commentsProblem Recent Solvers703
Suggested Problems
- 
         Read a column of numbers and interpolate missing data 2333 Solvers 
- 
         Program an exclusive OR operation with logical operators 735 Solvers 
- 
         Cell Counting: How Many Draws? 2261 Solvers 
- 
         
         649 Solvers 
- 
         Matlab Basics - y as a function of x 512 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!