Cody

Problem 1840. Rotate Matrix Clockwise (45 Degree)

Matrix (3x3 only) rotation clockwise:

2 inputs: x matrix and n times.

output: y matrix with n x 45 degree rotation.

Solution Stats

56.86% Correct | 43.14% Incorrect
Last solution submitted on Jun 20, 2016
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more