Sort rows of matrix A in an ascending order according to the last column
Example input:
A = [1 2 3;7 8 9;4 5 6];
Example output:
A = [1 2 3;4 5 6;7 8 9];
Additional test cases have been added.
5737 Solvers
322 Solvers
Matrix with different incremental runs
194 Solvers
convert matrix to single column
217 Solvers
Create sequnce 1 4 9 16 25.........
149 Solvers