%% Radiation Pattern of Dipole Antenna
% Plot radiation pattern of dipole antenna in rectangular cartesian co-ordinate system.

pattern(dipole, 70e6:10e6:100e6, 0, 90, 'CoordinateSystem', 'rectangular')

%
% Directivity values of dipole antenna

D = pattern(dipole, 70e6:10e6:100e6, 0, 90, 'CoordinateSystem', 'rectangular')

% Copyright 2020 The MathWorks, Inc.