I am trying to recreate a polar plot of gain in dB, but I am not sure how to create the graph. Any help is appreciated. This is what I have so far:
if true % code
% the following values are given on page 836
dielectric_const = 2.2; % unitless
h = 0.1588; % in cm
f = 10e9; % in Hz
L = 0.906; % in cmL_e = 1.068; % in cmE0 = 1; % in V/cm, generic value of 1 given
V0 = h*E0; % in V
theta = pi/2; % in radians
k0 = (2*pi*f)/(3e8); % wavenumber
W = 1.185; % width in cm
phi = linspace(0, pi/2, 1e3);theta = pi/2;r = 1;a = (k0*h)/2;b = (k0*L_e)/2;c = k0*W;d = c/2;e = cos(phi);f = sin(phi);multiplier = i*(c*V0*exp(-1*i*k0*r)/pi*r);n_1 = sin(a*e);n_2 = cos(b*f);d_1 = a*e;% E plane, eq. 14-45
E_phi = (multiplier.*n_1.*n_2)./d_1; end
Best Answer