function P = MakePoint(x,y) % P is a point with x-coordinate P.x and y-coordinate P.y. P = struct('x',x,'y',y);