Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2; 3 4];
y_correct = [3 1; 4 2];
assert(isequal(RotateMatrix(x),y_correct))
ans =
3 1
4 2
|
725 Solvers
367 Solvers
2985 Solvers
Sum the 'edge' values of a matrix
232 Solvers
Flip the vector from right to left
2673 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!