Create a code to sort a vector without sort() function.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers45
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53771 Solvers
-
Return the largest number that is adjacent to a zero
5549 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15821 Solvers
-
Basics: 'Find the eigenvalues of given matrix
440 Solvers
-
569 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.