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 |
x = 1;
y_correct = 1;
assert(isequal(setEqual(x),y_correct))
|
2 | Pass |
x = 5;
y_correct = 5;
assert(isequal(setEqual(x),y_correct))
|
3074 Solvers
434 Solvers
Make a run-length companion vector
512 Solvers
3062 Solvers
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!