Sort the first column of an array in ascending order

1 Ansicht (letzte 30 Tage)
Alberto Acri
Alberto Acri am 5 Aug. 2023
Beantwortet: Dyuman Joshi am 5 Aug. 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:

Akzeptierte Antwort

Dyuman Joshi
Dyuman Joshi am 5 Aug. 2023
Check out sortrows

Weitere Antworten (0)

Kategorien

Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by