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))
|
7264 Solvers
90 Solvers
76 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
115 Solvers
1243 Solvers