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
|
3602 Solvers
232 Solvers
546 Solvers
Matlab Basics - Logical Tests I
192 Solvers
Matlab Basics - Pick out parts of a vector
198 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!