sortrows

12 visualizaciones (últimos 30 días)
Mohammad Golam Kibria
Mohammad Golam Kibria el 26 de Jun. de 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.

Respuesta aceptada

Matt Fig
Matt Fig el 26 de Jun. de 2011
sortrows(I,-1)
  1 comentario
Mohammad Golam Kibria
Mohammad Golam Kibria el 26 de Jun. de 2011
Thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by