sorting a dataset 69x821

1 visualización (últimos 30 días)
Sam
Sam el 9 de Nov. de 2015
Editada: Walter Roberson el 9 de Nov. de 2015
Hi,
I want to sort a dataset of 69x821, i want to sort by the 54th column and i want that all the rows stay with the sorted value of column 54... How do i do this?

Respuestas (1)

Walter Roberson
Walter Roberson el 9 de Nov. de 2015
Editada: Walter Roberson el 9 de Nov. de 2015
sortedDataset = sortrows(YourDataset, 54);

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