Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 0;0 1];
c=6
y_correct = [1 0 1 0 1 0 1 0 1 0 1 0;0 1 0 1 0 1 0 1 0 1 0 1]
assert(isequal(your_fcn_name(x,c),y_correct))
c =
6
y_correct =
1 0 1 0 1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1 0 1
|
3968 Solvers
756 Solvers
641 Solvers
413 Solvers
07 - Common functions and indexing 2
316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!