Arrange a given vector in ascending order.

 input  = [4 5 1 2 9];
 output = [1 2 4 5 9];

Solution Stats

952 Solutions

814 Solvers

Last Solution submitted on Jan 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers814

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!