How to sort a struct
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 23 de Jul. de 2020
Yes, you can.....read about sort. It depends how your structure is.
Peter Meier
el 23 de Jul. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Shifting and Sorting Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!