Cody

Problem 1841. Rotate Matrix Both Direction (45 Degree)

Matrix (3x3 only) rotation:

3 inputs: x matrix, n times and m option.

output: y matrix with n x 45 degree rotation. m=1 for clockwise & m=2 for counterclockwise.

Solution Stats

64.52% Correct | 35.48% Incorrect
Last solution submitted on Nov 09, 2016

Problem Comments

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