File Exchange

image thumbnail

Sorting of Numbers

version 1.0.0 (1.26 KB) by Manotosh Mandal
Sorting of Numbers in ascending or descending order.

0 Downloads

Updated 27 Aug 2019

View License

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

Cite As

Manotosh Mandal (2020). Sorting of Numbers (https://www.mathworks.com/matlabcentral/fileexchange/72546-sorting-of-numbers), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Brad Haddin

Nice coding. Thanks....

Jos (10584)

This programming exercise is not a function that is useful to others ...

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux