function distan = distance1(x1,x2)

[m1,n1] = size(x1);

for i=1:n1,
    distan(i) = norm((x1(:,i)-x2));
end;