sortrows

4 Ansichten (letzte 30 Tage)
Mohammad Golam Kibria
Mohammad Golam Kibria am 26 Jun. 2011
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.

Akzeptierte Antwort

Matt Fig
Matt Fig am 26 Jun. 2011
sortrows(I,-1)

Weitere Antworten (0)

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by