sorting with respect to specific column

1 view (last 30 days)
Hello everone,
i want to sort 500*6 matrix with respect to 6th column. How can i do that?
thanks

Accepted Answer

David Hill
David Hill on 26 Dec 2021
s=sortrows(yourMatrix,6);

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by