good job
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 1;
b = 2;
out = sumDigits(a);
assert(isequal(out, b))
b =
2
|
2 | Pass |
a = 10;
b = 7;
out = sumDigits(a);
assert(isequal(out, b))
b =
7
|
3 | Pass |
a = 16;
b = 25;
out = sumDigits(a);
assert(isequal(out, b))
b =
25
|
Replace NaNs with the number that appears to its left in the row.
1712 Solvers
middleAsColumn: Return all but first and last element as a column vector
317 Solvers
Are all the three given point in the same line?
197 Solvers
Back to basics - mean of corner elements of a matrix
237 Solvers
465 Solvers