MATLAB: Find the minimum of a matrix

matrixmatrix manipulationminmumvector

Hi,
Can someone please help me to find the row number corresponding to the minimum value of the jth column of a matrix?
thanks.

Best Answer

[val idx] = min(X(:,j));
idx will be the row number.