Cody

Solution 1746814

Submitted on 10 Mar 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))

Error in solution Line: 3 Column: 48 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution Line: 3 Column: 48 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

Suggested Problems

More from this Author23