This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%% Test 1
A = 1:9;
A=reshape(A,[3 1 3]);
y_correct = 9;
assert(isequal(islargest(A),y_correct))
|
2 | Pass |
%% Test 2
A = 9:17
A=reshape(A,[3 1 3]);
y_correct = 17;
assert(isequal(islargest(A),y_correct))
A =
Columns 1 through 7
9.00 10.00 11.00 12.00 13.00 14.00 15.00
Columns 8 through 9
16.00 17.00
|
2980 Solvers
516 Solvers
Getting the indices from a matrice
360 Solvers
284 Solvers
07 - Common functions and indexing 5
314 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!