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
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13051 Solvers
Back to basics 3 - Temp Directory
328 Solvers
386 Solvers
Back to basics 8 - Matrix Diagonals
781 Solvers
177 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!