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 Solvers838
Suggested Problems
-
28492 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
4520 Solvers
-
Matrix indexing with two vectors of indices
785 Solvers
-
331 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!