Problem 716. Arrange vector in ascending order
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 commentsProblem Recent Solvers798
Suggested Problems
-
Swap the first and last columns
21986 Solvers
-
Renaming a field in a structure array
1564 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1932 Solvers
-
5753 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1592 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!