sorting with respect to specific column

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 日

0 投票

s=sortrows(yourMatrix,6);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeShifting and Sorting Matrices についてさらに検索

タグ

質問済み:

2021 年 12 月 26 日

回答済み:

2021 年 12 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by