Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2; 3 4];
y_correct = 4;
assert(isequal(your_fcn_name(x),y_correct))
ans =
4
|
2 | Pass |
x = [3 7; 4 1];
y_correct = 7;
assert(isequal(your_fcn_name(x),y_correct))
ans =
7
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13048 Solvers
519 Solvers
07 - Common functions and indexing 4
319 Solvers
Rounding off numbers to n decimals
1050 Solvers
373 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!