Cody

Solution 1858047

Submitted on 26 Jun 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
v = [1 2 5 13 55 23 15]; d = 5; y_correct = [1 2 13 23]; assert(isequal(digitRemove(v,d),y_correct))

Undefined function or variable 'RX'. Error in digitRemove (line 13) RX=[RX x(i)]; Error in Test1 (line 4) assert(isequal(digitRemove(v,d),y_correct))

2   Fail
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))

Undefined function or variable 'RX'. Error in digitRemove (line 13) RX=[RX x(i)]; Error in Test2 (line 4) assert(isequal(digitRemove(v,d),y_correct))