sorting with respect to specific column

3 次查看(过去 30 天)
Hello everone,
i want to sort 500*6 matrix with respect to 6th column. How can i do that?
thanks

采纳的回答

David Hill
David Hill 2021-12-26
s=sortrows(yourMatrix,6);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by