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

Learn moreOpportunities for recent engineering grads.

Apply TodayRotate a Matrix by 90 degrees

Example:

If the input is:

X =

1 2 3

4 5 6

7 8 9

So the answer would be:

Y =

3 6 9

2 5 8

1 4 7

231 correct solutions
45 incorrect solutions

Last solution submitted on Aug 27, 2014

1 Comment