Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 716. Arrange vector in ascending order

Created by Ismail shaikh

Arrange a given vector in ascending order.

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

Problem Group

Solution Statistics

300 correct solutions 23 incorrect solutions
Last solution submitted on Jul 08, 2016

Solution Comments