Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
A = [1 2 1];
B = [3 1 2];
y_correct = 7;
assert(isequal(your_fcn_name(A,B),y_correct))
|
2 | Pass |
A = [1];
B = [3];
y_correct = 3;
assert(isequal(your_fcn_name(A,B),y_correct))
|
3 | Pass |
A = [2 5];
B = [3 6];
y_correct = 36;
assert(isequal(your_fcn_name(A,B),y_correct))
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13046 Solvers
Calculate the area of a triangle between three points
871 Solvers
372 Solvers
292 Solvers
1798 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!