Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4];
y_correct = 3;
assert(isequal(second_biggist(x),y_correct))
ans =
3
|
2 | Pass |
x = [1 2 3 4; 5 6 7 8];
y_correct = 7;
assert(isequal(second_biggist(x),y_correct))
ans =
7
|
3 | Pass |
x = [1 2 3 4; 5 6 7 8; 9 10 11 12];
y_correct = 11;
assert(isequal(second_biggist(x),y_correct))
ans =
11
|
4 | Pass |
x = [1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 15 16];
y_correct = 15;
assert(isequal(second_biggist(x),y_correct))
ans =
15
|
5 | Pass |
x = [1 2 3 4]';
y_correct = 3;
assert(isequal(second_biggist(x),y_correct))
ans =
3
|
07 - Common functions and indexing 2
316 Solvers
257 Solvers
555 Solvers
147 Solvers
Find the Oldest Person in a Room
5129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!