Back to basics 22 - Rotate a matrix - MATLAB Cody - MATLAB Central

Problem 412. Back to basics 22 - Rotate a matrix

Difficulty:Rate

Covering some basic topics I haven't seen elsewhere on Cody.

Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; 3 4] -> [2 4; 1 3]

Solution Stats

69.78% Correct | 30.22% Incorrect
Last Solution submitted on Feb 25, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers910

Suggested Problems

More from this Author39

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page