MATLAB: How to find the minimum value in column of the array and retrieve the corresponding row

min value across the column

V= [-35 ,60.2 ; -0.35,80.6 ; 0, 0] Need to find the min value across the column of the array and store its corresponding row value in a variable eg: min = [-35 60.2]

Best Answer

Something like this?
[~,idx]=min(V)
row=V(idx,:)