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
|
19329 Solvers
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
Compute a dot product of two vectors x and y
750 Solvers
3062 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!