How to sort a struct
Afficher commentaires plus anciens
Is it possible to sort a struct? I want to sort the third column.
0 should be in the first row and the highest value at the end (last row). The other values are not important and should be the same ranking.
Thank you.

2 commentaires
KSSV
le 23 Juil 2020
Yes, you can.....read about sort. It depends how your structure is.
Peter Meier
le 23 Juil 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!