Clear Filters
Clear Filters

sorting a dataset 69x821

2 views (last 30 days)
Sam
Sam on 9 Nov 2015
Edited: Walter Roberson on 9 Nov 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?

Answers (1)

Walter Roberson
Walter Roberson on 9 Nov 2015
Edited: Walter Roberson on 9 Nov 2015
sortedDataset = sortrows(YourDataset, 54);

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!