MATLAB: How to arrenge the calculated distances in ascending order

image processingMATLAB

hi i want to know how to arrange the 1000 different values in ascending order in matlab? is there any command to arrange it in ascending order?

Best Answer

The sort command can sort in ascending and descending order. See "help sort".