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 Solvers775
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2976 Solvers
-
Find the sum of the elements in the "second" diagonal
1149 Solvers
-
Find the maximum number of decimal places in a set of numbers
2854 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
378 Solvers
-
find the surface area of a cube
526 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!