imagine I have a matrix [1, 5; 1, 2; 1, 3]; and I want to rearrange the matrix depending on its ratio with between the two columns so the output is [1, 5; 1, 3; 1, 2];
MATLAB: Sort matrix by ratios of the adjacent column
matrix sortingratios
matrix sortingratios
Best Answer