This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [7 3 5;1 2 8;6 4 9];
n = 7;
y_correct = [3 5 8;7 2 9;1 6 4];
assert(isequal(mat_rot(x,n),y_correct))
|
17210 Solvers
Cell Counting: How Many Draws?
581 Solvers
find the maximum element of the matrix
348 Solvers
275 Solvers
Determine the length of a string of characters
171 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!