MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Problem 623. Rotate a Matrix
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
x = [1 2; 3 4];
y_correct = [3 1; 4 2];
Error: Attempted to access y(0,1); index must be a positive integer or logical.