Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = [1 2 3 1];
y_correct = 1;
assert(isequal(checkvector(x),y_correct))
|
2 | Fail |
x = [1 2 7; 6 3 1];
y_correct = 0;
assert(isequal(checkvector(x),y_correct))
|
3 | Fail |
x = [1;2;0];
y_correct = 1;
assert(isequal(checkvector(x),y_correct))
|
9875 Solvers
Remove any row in which a NaN appears
6827 Solvers
1601 Solvers
606 Solvers
321 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!