Академический Документы
Профессиональный Документы
Культура Документы
As a result of this it is found that the signal decreases in a way that is inversely
proportional to the square of the distance from the source of the radio signal.
The free space path loss formula or free space path loss equation is quite simple to use.
Not only is the path loss proportional to the square of the distance between the transmitter and
receiver, but the signal level is also proportional to the square of the frequency in use.
FSPL = (4d/ ) 2 = (4df/ c) 2
Matlab code:
%Transmited Power
for n=1.5:0.5:3
Pr=Pt*(1./(d.^n));%formula for received power
Prdb = 10.*log(Pr);%coverting to db scale
ptdb=10.*log(Pt);%coverting to db scale
pldb= ptdb-Prdb;
figure(1);
plot(d,Prdb);%plot for received power vs distance
hold all;
grid on;
legend('n=1.5','n=2.0','n=2.5','n=3')
title('Received power for Different pathloss exponents');
xlabel('Kilometers');
ylabel('Received Power (dB)');
figure(2);
plot(d,pldb);%plot for patlloss vs distance
hold all;
grid on;
legend('n=1.5','n=2.0','n=2.5','n=3')
title('Pathloss analysis for Different pathloss exponents');
xlabel('Kilometers');
ylabel('Pathloss (dB)');
end
Plots:
Result: