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

217 correct solutions
41 incorrect solutions

Last solution submitted on Jul 25, 2014

1 Comment