80% found this document useful (5 votes)
1K views3 pages

Simulation of Handoff Performance in Cellular Mobile Communication

The document aims to simulate handoff performance in cellular mobile communication using MATLAB. It calculates the path loss between a mobile station and two base stations (A and B) over a distance of 50 meters using different path loss models. It plots the received signal strength and path loss versus distance for both base stations, showing the received signal strength is higher for the closer base station. It also plots the path loss using free space model for comparison.

Uploaded by

benny_1811
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
80% found this document useful (5 votes)
1K views3 pages

Simulation of Handoff Performance in Cellular Mobile Communication

The document aims to simulate handoff performance in cellular mobile communication using MATLAB. It calculates the path loss between a mobile station and two base stations (A and B) over a distance of 50 meters using different path loss models. It plots the received signal strength and path loss versus distance for both base stations, showing the received signal strength is higher for the closer base station. It also plots the path loss using free space model for comparison.

Uploaded by

benny_1811
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

EX NO 7

AIM

Handoff performance in cellular mobile communication

To simulate Handoff performance in cellular mobile communication using MATLAB APPARATUS REQUIRED MATLAB software, PC SOURCE CODE: clc clear all; hte=150; %height of transmitting base station antenna in meters hre=10; %height of receving antenna of mobile station in meters sdA=3; %standard deviation of noise for Base station A sdB=5; %standard deviation of noise for Base station B noiseA=sdA*randn(1,50); noiseB=sdB*randn(1,50); disp('uplink freq=835 Mhz') disp('downlink freq=880 Mhz') disp('urban environment =900 Mhz') fc=input('Do You want path loss for uplink, downlink or urban environment frequency?=') for d=1:50 % path loss calculation Between Mobile & Base station A LA(d)=(69.55+26.6*log10(fc))-(13.82*log10(hte))-((1.11*log10(fc)-0.7)*(10)+(1.56*log10(fc)0.8))+((44.9-6.55*log10(hte))*log10(d)); %path loss calculation Between Mobile & Base station B LB(d)=(69.55+26.6*log10(fc))-(13.82*log10(hte))-((1.11*log10(fc)-0.7)*(10)+(1.56*log10(fc)0.8))+((44.9-6.55*log10(hte))*log10(51-(d))); % path loss calculation for free space model LF(d)=32.4+20*log10(fc)+20*log10(d); % Received power at A without noise SrA(d)=60-LA(d); % Received power at B without noise SrB(d)=60-LB(d); % Received power at A with Gaussian noise sd=3 PrA(d)=60-LA(d)+noiseA(d) ; % Received power at B with Gaussian noise sd=5 PrB(d)=60-LB(d)+noiseB(d); end figure(1) subplot(2,1,1);plot (PrA); hold on plot (PrB,'m');

axis([0 50 -90 -50]); xlabel('distance');ylabel('signal strength') grid subplot(2,1,2);plot(SrA); hold on plot(SrB,'m'); axis([0 50 -90 -50]); grid figure(2) plot(LA); hold on plot(LF); OUTPUT: uplink freq=835 Mhz downlink freq=880 Mhz urban environment =900 Mhz Do You want path loss for uplink, downlink or urban environment frequency?=206.5

fc =

206.5000

-50
signal strength

-60 -70 -80 -90

10

15

20

25 30 distance

35

40

45

50

-50
signal strength

-60 -70 -80 -90

10

15

20

25 30 distance

35

40

45

50

140

130

120

path loss

110

100

90

80

70

10

15

20

25 30 distance

35

40

45

50

You might also like