Sort a matrix with indexing
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
PARTHA HALDAR
le 27 Nov 2015
Commenté : PARTHA HALDAR
le 27 Nov 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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!