Arrange a given vector in ascending order.
input = [4 5 1 2 9]; output = [1 2 4 5 9];
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers822
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
Who is the smartest MATLAB programmer?
793 Solvers
-
377 Solvers
-
convert matrix to single column
437 Solvers
-
Area of an equilateral triangle
6911 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!