I have two 360*360 matrices (x,y). I want to find the minimum value in each column of the y matrix (YMin – 1*360) and then find the values of the corresponding elements in the x matrix (XMin – 1*360). I tried to use the row numbers but I'm missing something simple here;
[YMin, YRow] = min(y); XMin = x(YRow);
Best Answer