Create a code to sort a vector without sort() function.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers39
Suggested Problems
-
1464 Solvers
-
857 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
401 Solvers
-
Find the index of n in magic(n)
274 Solvers
-
6292 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.