Please! Can you explain more than that?
Aye! The first column is not "sorted according the second column" (only half an explanation). The block of numbers in each row is treated as a fixed unit, and each row is rearranged such that the values in the second column are sorted in ascending order.
Make the vector [1 2 3 4 5 6 7 8 9 10]
35613 Solvers
12394 Solvers
819 Solvers
Back to basics 8 - Matrix Diagonals
782 Solvers
Back to basics 11 - Max Integer
678 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!