Sort a Matrix by the first column connecting the row elements so that the elements of the second column 'follow' those of the first.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Alex Perrakis
el 14 de Sept. de 2021
Comentada: Alex Perrakis
el 14 de Sept. de 2021
Hello Guys, i have a two column Matrix, where the first column is the diameter of some particles and the second column is Extiction. So the elements of the second column correspond to those of the first. My question is, is there a function that lets me sort the first column in ascending or descending order (does not matter) so that the corresponding value of extiction 'follows'? thank you very much.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!