DevJourney · code I wrote while learning
1[x,y] = meshgrid(-2:.2:2); 2f = x.*exp(-x.^2-y.^2); 3surf(x,y,f)