love the "unique" command!
Do not cheat yourself,OK?
I added additional cases to the test suite, so this attempted solution is incorrect now.
357 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
324 Solvers
288 Solvers
261 Solvers
393 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!