Problem 44649. Minimum Maximum Sort Array

Created by Jamal Nasir in Community

sort one array by put minimum value followed by maximum as follow a=[2 3 1 5] and the solution is y=[1 5 2 3 3 2 5 1];

Solution Stats

68.0% Correct | 32.0% Incorrect
Last solution submitted on Mar 04, 2019

Problem Comments

Recent Solvers14

Suggested Problems

More from this Author2

Discover MakerZone

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

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!