Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 5 12 10 7];
y_correct = [1 2 NaN 12 NaN 7];
assert(isequaln(repnan(x),y_correct))
y =
1 2 NaN 12 NaN 7
|
2 | Pass |
x = [-1 7 -15 20 11 3];
y_correct = [-1 7 NaN NaN 11 3];
assert(isequaln(repnan(x),y_correct))
y =
-1 7 NaN NaN 11 3
|
5170 Solvers
415 Solvers
263 Solvers
Back to basics 21 - Matrix replicating
904 Solvers
07 - Common functions and indexing 3
254 Solvers