Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 4];
y_correct = 3;
assert(isequal(second_biggist(x),y_correct))
|
2 | Pass |
x = [1 2 3 4; 5 6 7 8];
y_correct = 7;
assert(isequal(second_biggist(x),y_correct))
|
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))
|
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))
|
5 | Pass |
x = [1 2 3 4]';
y_correct = 3;
assert(isequal(second_biggist(x),y_correct))
|
3115 Solvers
Compute a dot product of two vectors x and y
750 Solvers
531 Solvers
Find out sum of prime number till given number
125 Solvers
219 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!