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 Solvers835
Suggested Problems
-
Getting the indices from a vector
12335 Solvers
-
699 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
Back to Basics - Find no. of elements in a matrix?
328 Solvers
-
3704 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!