Design of Cellular Communication System
Design of Cellular Communication System
clc;
clear all;
close all;
%Frequency re-use ratio
N=[3 5 7 9 11 13];
Q1=sqrt(3*N);
Q=round(Q1);
figure(1);
stem(N,Q);
title('Cluster size versus re-use ratio');
xlabel('Cluster size');
ylabel('re-use ratio ');
disp('The re-use ratio Q is');
disp( Q);
%signal to interference ratio
n=3;
i=2;
for j=1:6
p(j)=(((3*N(j))^0.5)^n)/i;
z(j)=round(p(j));
disp('The signal to interference ratio is z(j):');
disp(z(j));
end
figure;
stem([N],z,'b');
xlabel('cluster size N');
ylabel(' SIR');
title('Cluster size versus SIR');
%Channel capacity
x1=33000;
x2=50;
S=x1/x2;
i=1;
for N1=3:8
Ch=S/N1;
C(i)=round(Ch);
i=i+1;
end
figure;
stem([N],C);
title('Cluster size versus Channel capacity');
xlabel('Cluster size N1');
ylabel('Channel capacity');
disp('The channel capacity is:');
disp(C);
%Total no of subscribers
d=2;
B=660;
h=0.5;
A=12;
A1=d*h;
U=A/A1;
Total =U*B;
disp('The total no of subscribers is :');
disp(Total);
94
83
re-use ratio
8
9
Cluster size
10
11
12
13
120
100
SIR
80
60
40
20
0
3
7
8
9
cluster size N
10
11
12
13
Channel capacity
200
150
100
50
7
8
9
Cluster size N1
10
11
12
13