Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1:10;
[a,b,c,d] = doubleDeal(x);
y_correct = 1:4;
assert(isequal([a b c d],y_correct))
|
2 | Pass |
%%
x = randn(1,1000);
y = cell(1,1000);
[y{:}] = doubleDeal(x);
y_correct = x;
assert(isequal([y{:}],y_correct))
|
Remove all the words that end with "ain"
1292 Solvers
115 Solvers
Back to basics 22 - Rotate a matrix
763 Solvers
185 Solvers
Side of an equilateral triangle
2595 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!