[X1,Y1]=meshgrid(linspace(-1,1,10),linspace(-2,2,10));
MyMeshGrid=@(a,b,n) meshgrid(linspace(-a,a,n),linspace(-b,b,n));
[X2,Y2]=MyMeshGrid(1,2,10);
norm(X1-X2)
norm(Y1-Y2)
