Sort the first column of an array in ascending order

1 vue (au cours des 30 derniers jours)
Alberto Acri
Alberto Acri le 5 Août 2023
Hi I need to sort the first column of an array in ascending order by also moving the numbers in the second column like this:

Réponse acceptée

Dyuman Joshi
Dyuman Joshi le 5 Août 2023
Check out sortrows

Plus de réponses (0)

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by