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)

추가 답변 (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