Sorting a Multidimensional Array
10 views (last 30 days)
Show older comments
Luca Lange
on 23 Apr 2021
Answered: Walter Roberson
on 23 Apr 2021
Dear All,
I have measurement results in the form of a 65x48x504 array. I want to sort these 504 'layers' of data by a certain value, namely the data(1, 1, :) values.
It seems like sortrows() is limited to 2D cases, and I could not figure out how to use a for loop to adress the array correctly for this operation.
Any help is greatly appreciated!
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Shifting and Sorting Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!