Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [2,3,5];
y_correct = [2,2,3,3,5,5];
assert(isequal(duplicate(x),y_correct))
|
Getting the indices from a vector
1445 Solvers
Change the sign of even index entries of the reversed vector
213 Solvers
202 Solvers
Switch matrix to a column vector
189 Solvers
261 Solvers