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))
|
Make a run-length companion vector
512 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Replace multiples of 5 with NaN
358 Solvers
271 Solvers
Switch matrix to a column vector
260 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!