This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%
y_correct = -1:1;
assert(isequal(cube3(),y_correct))
|
Extract leading non-zero digit
1205 Solvers
284 Solvers
Make a run-length companion vector
512 Solvers
450 Solvers
615 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!