Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y = 2;
y_correct = 0;
assert(isequal(inorout(x,y),y_correct))
|
2 | Pass |
x = 0;
y = 0;
y_correct = 1;
assert(isequal(inorout(x,y),y_correct))
|
6064 Solvers
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
965 Solvers
Matlab Basics II - Extract last 3 elements of a vector
164 Solvers
74 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!