Sort the first column of an array in ascending order

1 次查看(过去 30 天)
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:

采纳的回答

Dyuman Joshi
Dyuman Joshi 2023-8-5
Check out sortrows

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by