Hi, I have a matrix (say 7 x 2). first column contains id and second column contains scores. I want to write a code to extract id from first column which is corresponding to minimum score in second column?
M = 1 363.02611 330.30224 289.0755 240.312059 188.20979 162.93787 108.104
I know 87 has lowest score. But how to write effective code so that for larger matrix it should fetch id corresponding to lowest score? Thanks
Best Answer