function [cartesianXY] = generateCartesianPupilSamplingPoints(N,xc,yc,R) % Generates N random points in a circle.
% generateCartesianPupilSamplingPoints(N) generates N cartesian square grid points in the unit circle at (0,0).
% generateCartesianPupilSamplingPoints(N,xc,yc,R) generates N points in cartesian square grid in a circle with radius R 
% and center at (xc,yc).
if nargin<2
   xc = 0;
   yc = 0;
   R = 1;
   end  

squareN = round((4/pi)*N); %total number of points in square inscribing the circle 
lineN = round(squareN); %total number of points in a line along side of the square inscribing the circle   

%code not completed
end
