sorting matrix

5 visualizaciones (últimos 30 días)
Mohammad Golam Kibria
Mohammad Golam Kibria el 10 de Mayo de 2011
hi i have a matrix as follows a =
2 3 4
4 3 2
1 2 3
>> sort(a)
ans =
1 2 2
2 3 3
4 3 4
i want to sort the matrix as follows
1 2 3
2 3 4
4 3 2
how to do this?

Respuesta aceptada

Walter Roberson
Walter Roberson el 10 de Mayo de 2011

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