% M-file twoddgrid
% Calculates observation points on a grid for twodd.m
xmin = -1.9;
xmax = +1.9;
dx = 0.2;
ymin = -1.9;
ymax = +1.9;
dy = 0.2;

%xmin = 0.81;
%xmax = +1.19;
%dx = 0.02;
%ymin = -0.19;
%ymax = +0.19;
%dy = 0.02;	
	
xgrid = xmin:dx:xmax;
ygrid = ymin:dy:ymax;
[X,Y] = meshgrid(xgrid,ygrid);	% Grid nodes in matrix form
dimx = length(xgrid);
dimy = length(ygrid);
NUM2 = dimx*dimy;
