Info

This question is closed. Reopen it to edit or answer.

how do I compare n inputs of values and disp them in ascendent order?

1 view (last 30 days)
how do I compare n inputs of values and disp them in ascendent order?

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 16 Sep 2012
y=randi(10,10,1)
sort(y)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!