Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 1;
b = 2;
c_correct = 3;
assert(isequal(add_two_numbers(a,b),c_correct))
|
2 | Pass |
%%
a = 17;
b = 2;
c_correct = 19;
assert(isequal(add_two_numbers(a,b),c_correct))
|
3 | Pass |
%%
a = -5;
b = 2;
c_correct = -3;
assert(isequal(add_two_numbers(a,b),c_correct))
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13053 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
278 Solvers
2541 Solvers
498 Solvers
311 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!