MATLAB: How i can display the coordinate of a point x in a marice

matrice

how i can display the coordinate of a point x in a matrice I have a program that can display the minimum of each line but I must displays the ordinates of the minimum display in Martice can you help me please
d =[ 5 8 9 10 ;3 5 50 40 ;0 11 12 80; 58 50 78 60;20 44 97 30 ;50 220 85 75 ;85 74 123 458;57 69 58 12; 10 0 23 5; 44 78 95 124]
[m,n] = size(d);
for i = 1:m;
mvec =d(i,:);
mmin = mvec(1);
for j = 2:length(mvec)
if mvec(j) < mmin
mmin = mvec(j);
end
end

Best Answer

Each time you find a new minimum, record the current array index.