function z = Elev(x,y)
% A function with peaks at (1,1.5), (-2,.5), and (.5,0)
% Peak heights are 100, 90, and 80 resp.

r1 = (x-1)^2 + 3*(y-1.5)^2;
r2 = 2*(x+2)^2 + (y-.5)^2;
r3 = (x-.5)^2 + 7*y^2;
z = 100*exp(-.5*r1) + 90*exp(-.3*r2) + 80*exp(-.4*r3);