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 = [1 2 3; 4 5 6; 7 8 9;];
y_correct = 1;
assert(isequal(matrixMin(x),y_correct))
|
2 | Pass |
%%
x = [42 35 18 9; 28 92 11 444; 8 12 9 111];
y_correct = 8;
assert(isequal(matrixMin(x),y_correct));
|
489 Solvers
Sum the numbers on the main diagonal
453 Solvers
340 Solvers
07 - Common functions and indexing 5
314 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!