Rank elements within column of a matrix
This function returns the rank of each element within each column of a matrix. The highest element receives the highest rank.
rankIndex(sortedIdx)
sortedIdx
a rank matrix
Useful links