Skip to content
Snippets Groups Projects
Commit 330badac authored by ac_fx's avatar ac_fx
Browse files

regularize via min

parent c9079573
Branches
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ D=DistanceMatrix;
% D=D/b;
for i=1:size (D,1)
for j= 1:size(D,2)
D(i,j)= max(D(i,j),D(j,i));
D(i,j)= min([D(i,j),D(j,i)]);
end
D(i,i)=0;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment