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 =
9 10 11 12 13 14 15 16 17
|
1600 Solvers
Getting the indices from a matrice
360 Solvers
Create an index-powered vector
353 Solvers
276 Solvers
1098 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!