This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 3;
b = 4;
y_correct = 5;
assert(isequal(your_fcn_name(a,b),y_correct))
|
Make a run-length companion vector
512 Solvers
299 Solvers
Create matrix of replicated elements
321 Solvers
277 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!