Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [0 1 0 0;4 3 7 0;0 0 2 6;0 9 0 5];
y_correct = [2 1 2 3];
assert(isequal(firstNonZeros(x),y_correct))
|
1166 Solvers
647 Solvers
Convert a numerical matrix into a cell array of strings
152 Solvers
07 - Common functions and indexing 3
254 Solvers
Check that number is whole number
274 Solvers