%% Radiation Pattern of Microstrip Patch Antenna
% Create a microstrip patch antenna using 'FR4' as the dielectric substrate.

d = dielectric('FR4');
pm = patchMicrostrip('Length',75e-3,'Width',37e-3,     ...
        'GroundPlaneLength',120e-3,'GroundPlaneWidth',120e-3, ...
        'Substrate',d)
show(pm)

%
% Plot the radiation pattern of the antenna at a frequency of 1.67 GHz.

figure
pattern(pm,1.67e9)

% Copyright 2012 The MathWorks, Inc.