function Varos2()
    V=rand(10,2)
    plot(V(:,1),V(:,2),'X')
    waitforbuttonpress
    X=fminimax(@(x)F(x,V),[0 0])
    plot(V(:,1),V(:,2),'X',X(1),X(2),'O')
    waitforbuttonpress

function f=F(x,V)
    f=(sum((repmat(x,length(V),1)-V).^2')).^0.5;
    

