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
-
Select every other element of a vector
37541 Solvers
-
2826 Solvers
-
All your base are belong to us
582 Solvers
-
Back to basics 17 - white space
280 Solvers
-
2362 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!