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.
Swap the first and last columns
12414 Solvers
1763 Solvers
Sum of diagonal of a square matrix
1327 Solvers
07 - Common functions and indexing 1
338 Solvers
Add a row of zeros on top of a matrix
193 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!