How to compare more than two columns of a matrix using '<' or '>' symbol?
For example, if I have a matrix A and if I compare the columns using '<' symbol
2 5 4
4 1 2
6 0 1
7 5 8
I should get the output as
So, is there any solution that doesn't restrict for any two columns or three columns but in general more than two columns