Hi,I have a matrix. I=
1 4
5 6
2 3
I want the output sorting in the following
5 6
2 3
1 4
Thanks.

 採用された回答

Matt Fig
Matt Fig 2011 年 6 月 26 日

0 投票

sortrows(I,-1)

1 件のコメント

Mohammad Golam Kibria
Mohammad Golam Kibria 2011 年 6 月 26 日
Thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File 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