%% Radiation Pattern and Impedance of Circular Microstrip Patch
%
% Create a circular patch antenna using given values. Display the antenna.

cp = patchMicrostripCircular('Radius',0.0798,'Height',6e-3,...
       'GroundPlaneLength',0.3,'GroundPlaneWidth',0.3,...
       'FeedOffset',[-0.0525 0]);
   
show(cp)   

%
% Plot the pattern of the patch antenna at 1 GHz.

pattern(cp,1e9);

%
% Calculate the impedance of the antenna over a frequency span of 0.5 GHz to 1.5 GHz.

f = linspace(0.5e9,1.5e9,61);
impedance(cp,f);

%
%
% Copyright 2012 The MathWorks, Inc.