Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x=magic(6);
y_correct = [
35 6 26 24
3 7 21 25
31 2 22 20
8 33 17 15
30 34 12 16
4 29 13 11 ]
assert(isequal(col_del(x),y_correct))
y_correct =
35 6 26 24
3 7 21 25
31 2 22 20
8 33 17 15
30 34 12 16
4 29 13 11
ans =
35 6 26 24
3 7 21 25
31 2 22 20
8 33 17 15
30 34 12 16
4 29 13 11
|
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
Get the length of a given vector
3566 Solvers
Implement simple rotation cypher
943 Solvers
Cell Counting: How Many Draws?
581 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!