function [] = testGrid() [X,Y]=meshgrid(1:1:10); Z=2*X+Y surf(X,Y,Z)