The test case is not correct.
I cleaned up the test.
duplicate of 262
swap algorithm without auxiliary variables
2982 Solvers
Arrange vector in ascending order
627 Solvers
289 Solvers
291 Solvers
Matlab Basics - Pick out parts of a vector
202 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!