visual-search/compareEuclidean.m

10 lines
89 B
Mathematica

function dst=compareEuclidean(F1, F2)
x=F1-F2;
x=x.^2;
x=sum(x);
dst=sqrt(x);
return;