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 Solvers836
Suggested Problems
-
Back to basics 23 - Triangular matrix
1148 Solvers
-
Getting the indices from a vector
12426 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
757 Solvers
-
547 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!