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
|
15302 Solvers
250 Solvers
238 Solvers
414 Solvers
174 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!