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
引用格式
Dr. Manotosh Mandal (2024). Sorting of numbers in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/97502-sorting-of-numbers-in-matlab), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!