MATLAB: How to sort the components of a vector

componentsordervector

How can i sort the components of a vector in increasing order?

Best Answer

Use sort
sort(vec)
Related Question