Question

what is Matlab code to plot the path loss from 0 to 10 km using Hata...

what is Matlab code to plot the path loss from 0 to 10 km using Hata model, assuming fc= 900 MHz in an urban environment, mobile antenna height is 1.5 m, and base station antenna height are 30 and 200 meter, respectively.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

MATLAB CODE:

clc
clear all
close all

d = 0:0.001:10; % Distance between mobile and base stations in Kilometer
hM = 1.5; % Mobile Station antenna height in meteres

hB = 30; % Base Station antenna height in meteres
hB1 = 200; % Base Station antenna height in meteres

f = 900; % Frequency of Transmission in MHz
CH = 3.2*(log10(11.75*hM))^(2) - 4.97;
% Path Loss
PL = 69.55 + 26.16*log10(f) - 13.82*log10(hB) - CH + (44.9 - 6.55*log10(hB))*log10(d);
PL1 = 69.55 + 26.16*log10(f) - 13.82*log10(hB1) - CH + (44.9 - 6.55*log10(hB1))*log10(d);

plot(d,PL)
xlabel('Distance d (Km)')
ylabel('Path Loss (dB)')
% title('Path Loss for hB = 30 m')
grid on

hold on

plot(d,PL1)
xlabel('Distance d (Km)')
ylabel('Path Loss (dB)')
grid on

legend('Path Loss in dB for hB = 30 m','Path Loss in dB for hB = 200 m')

OUTPUT:

Add a comment
Know the answer?
Add Answer to:
what is Matlab code to plot the path loss from 0 to 10 km using Hata...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT