1; function Pxy=Piecewise_xy(x,y) Pxy=0.5457*exp(-0.75*y^2 - 3.75*x^2 - 1.5*x).*(x+y>1)+... 0.7575*exp(-y^2 - 6*x^2).*(x+y>-1)+... 0.5457*exp(-0.75*y^2 - 3.75*x^2 + 1.5*x).*(x+y