love the "unique" command!
Do not cheat yourself,OK?
I added additional cases to the test suite, so this attempted solution is incorrect now.
27986 Solvers
1091 Solvers
Back to basics 17 - white space
245 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3613 Solvers
363 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!