Azzera filtri
Azzera filtri

Sort the first column of an array in ascending order

1 visualizzazione (ultimi 30 giorni)
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:

Risposta accettata

Dyuman Joshi
Dyuman Joshi il 5 Ago 2023
Check out sortrows

Più risposte (0)

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by