Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3; 4 5 6]
y_correct = 6;
assert(isequal(your_fcn_name(x),y_correct))
x =
1 2 3
4 5 6
|
2 | Pass |
x = [1 2 3; 4 5 7]
y_correct = 7;
assert(isequal(your_fcn_name(x),y_correct))
x =
1 2 3
4 5 7
|
Return the largest number that is adjacent to a zero
3751 Solvers
Return a list sorted by number of occurrences
1504 Solvers
1882 Solvers
Calculate the area of a triangle between three points
874 Solvers
615 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!