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
-
Back to basics 22 - Rotate a matrix
939 Solvers
-
Compute a dot product of two vectors x and y
1057 Solvers
-
Calculate the area of a triangle between three points
3567 Solvers
-
Element by element multiplication of two vectors
399 Solvers
-
Matlab Basics II - Determine if an array has a 3rd dimension
170 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.