Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Jorge
Jorge le 16 Sep 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
how do I compare n inputs of values and disp them in ascendent order?
  1 commentaire
Oleg Komarov
Oleg Komarov le 16 Sep 2012
Do you just want to sort the values?

Réponses (1)

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

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by