welcome to 20000 club
Thank you :)
Shortest solution (so far) that keeps to the spirit of the challenge. Code is also easy to read.
Another short solution that keeps to the spirit of the challenge.
Make a run-length companion vector
521 Solvers
Given a matrix, swap the 2nd & 3rd columns
535 Solvers
264 Solvers
Flip the vector from right to left
2856 Solvers
1044 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!