Sort a matrix with indexing
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
PARTHA HALDAR
el 27 de Nov. de 2015
Comentada: PARTHA HALDAR
el 27 de Nov. de 2015
A row matrix B=[21 43 23 65]. Now I want to sort them in ascending order and also want the order of their location. How to do this??? I want the output file look like: [21 23 43 65] and [1 3 2 4].
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!