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))
ans =
2 2 3 3 5 5
|
272 Solvers
746 Solvers
188 Solvers
369 Solvers
400 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!