Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = [1 2 4];
assert(isequal(incrementor(x),y_correct))
|
2 | Pass |
x = [1 9 1 9];
y_correct = [1 9 2 0];
assert(isequal(incrementor(x),y_correct))
|
3 | Pass |
x = [9 9 9];
y_correct = [1 0 0 0];
assert(isequal(incrementor(x),y_correct))
|
Change the sign of even index entries of the reversed vector
213 Solvers
Switch matrix to a column vector
189 Solvers
412 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
230 Solvers
728 Solvers