Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
v = [1 2 5 13 55 23 15];
d = 5;
y_correct = [1 2 13 23];
assert(isequal(digitRemove(v,d),y_correct))
ans =
1 2 13 23
|
2 | Pass |
%%
v = [3 24 7 9 18 55 67 71];
d = 7;
y_correct = [3 24 9 18 55];
assert(isequal(digitRemove(v,d),y_correct))
ans =
3 24 9 18 55
|
749 Solvers
Convert from Base 10 to base 5
119 Solvers
138 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
1568 Solvers
Delete 2nd and 5th column of Given 6*6 matrix
93 Solvers