Create a code to sort a vector without sort() function.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers38
Suggested Problems
-
Swap the first and last columns
23010 Solvers
-
Flip the main diagonal of a matrix
919 Solvers
-
1069 Solvers
-
The Answer to Life, the Universe, and Everything
585 Solvers
-
572 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Your test suite is weak . There is no need to sort ,x is just a scalar .
Thanks for the warning. It's fixed.