points=[-1 -1; 3 0; 0 4; 1 1; 2 5; 4 2]'; p=minDist2points02(points, [], 1); fprintf('p=%s\n', mat2str(p));