Rotate Matrix @180 degree - MATLAB Cody - MATLAB Central

Problem 42876. Rotate Matrix @180 degree

Difficulty:Rate

Rotate Matrix @180 degree

Example

A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4; 7 5 3; 6 1 8]

Solution Stats

52.2% Correct | 47.8% Incorrect
Last Solution submitted on Jun 23, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers1662

Suggested Problems

More from this Author70

Community Treasure Hunt

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

Start Hunting!