%======= SURAJ BASTOLA ========================%
%==========Plotting
Frenel Diffraction Paramter with Diffraction Loss%=====
clc;
clear all;
u=-5:0.05:5;
for (i=1:length(u))
if (u(i)<=-1)
f1(i) = 0;
elseif(u(i)<=0)
f1(i) = 0.5-0.62*u(i);
elseif(u(i)<=1)
f1(i) = 0.5*exp(-0.95*u(i));
elseif(u(i)<=2.4)
f1(i) = 0.4-(sqrt(0.1184-(0.38-0.1*u(i))^2));
else
f1(i) = (0.225079)./u(i);
end
end
G = 20*log(abs(f1));
plot(u,G,'r')
xlabel('Fresnel Diffraction Parameter')
ylabel('Diffraction Loss (dB)')
title('Frenel Diffraction Paramter Analysis with Diffraction Loss')
No comments:
Post a Comment