Anttena Paterns radiation patterns
Show older comments
Hi, I would like to draw the same figure below from the two reference equations. However, the figure I obtained was not quite similar to what I wanted.


Here is my code for the simulation.
Plot a Figure of Spetrum power
theta = -100/180*pi:5*pi/180:100/180*pi;
%plot(theta*180/pi,sin(theta))
cell radius
Gain=[]
cell_radius = [10 5 2] %km
for i=1:length(cell_radius)
HAP_altitude = 20 %km
phi_3db = 2*atan(cell_radius(i)/HAP_altitude*pi/180)
Gain(i,:) = 0.7*(2*besselj(1,70*pi/phi_3db.*sin(theta))./sin(theta)).^2
plot(theta*180/pi,10*log(mapminmax(Gain(i,:), 0, 1)))
hold on
end
legend('10km','5km','2km')
My result is below.

Thank you so much in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Full-Wave Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!