Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = [1 2 4];
assert(isequal(incrementor(x),y_correct))
ans =
1 2 4
|
2 | Pass |
x = [1 9 1 9];
y_correct = [1 9 2 0];
assert(isequal(incrementor(x),y_correct))
ans =
1 9 2 0
|
3 | Pass |
x = [9 9 9];
y_correct = [1 0 0 0];
assert(isequal(incrementor(x),y_correct))
ans =
1 0 0 0
|
2500 Solvers
Sum all integers from 1 to 2^n
8414 Solvers
Back to basics 2 - Function Path
163 Solvers
Determine Whether an array is empty
646 Solvers
262 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!