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))
ans =
9
|
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
ans =
17
|
The Hitchhiker's Guide to MATLAB
2874 Solvers
501 Solvers
1424 Solvers
283 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!