Sorting of numbers in MATLAB

Sorting of numbers in ascending or descending order by 'sort' command.

Vous suivez désormais cette soumission

For details watch the lecture: https://youtu.be/A6hq2Wd87kA
Example:
Given numbers: 2 3 1 5 -1.3 7.5
Elements of array in ascending order:
-1.300 1.000 2.000 3.000 5.000 7.500
Elements of array in descending order:
7.500 5.000 3.000 2.000 1.000 -1.300

Citation pour cette source

Dr. Manotosh Mandal (2026). Sorting of numbers in MATLAB (https://fr.mathworks.com/matlabcentral/fileexchange/97502-sorting-of-numbers-in-matlab), MATLAB Central File Exchange. Extrait(e) le .

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.01

With its video lecture

1.0.0