You are on page 1of 5

Atal Bihari Vajpayee

Indian Institute of Information


Technology and Management Gwalior

Assignment -1
Wireless Communications Lab
(Scilab)

Submitted By:
Aayush Singh (2018IMG-001)

1 – Install Scilab.
2 – Write a Scilab code to calculate system capacity for
cluster sizes = 4, 7, 8, 10. Plot a graph between system
Aayush Singh (2018IMG-001) WCT LAB Assignment 1
2
capacity and cluster size. Take any value for number of
channels, cell area etc.
Formulas –
Area covered by cluster = N * Area of Cell
Number of Cluster = Coverage Area / Area covered by Cluster
System Capacity = No. Of Clusters * Total Available Channels

Assumed Values –
Total Available Channel = 930

Cell Area = 7 km2

Coverage Area = 2500 km2

Code –
clc ;
clear all;
Total_Channels =930;
Cell_Area =7;
Coverage_Area =2500;
N1 =4; //CLUSTER 1
N2 =7; //CLUSTER 2
N3 =8; //CLUSTER 3
N4 =10; //CLUSTER 4
Area1 = N1 * Cell_Area ;
Area2 = N2 * Cell_Area ;
Area3 = N3 * Cell_Area ;
Area4 = N4 * Cell_Area ;
NoOfClusters_1 = round ( Coverage_Area / Area1 ) ;
NoOfClusters_2 = round ( Coverage_Area / Area2 ) ;
NoOfClusters_3 = round ( Coverage_Area / Area3 ) ;
NoOfClusters_4 = round ( Coverage_Area / Area4 ) ;
SystemCapacity_1 = NoOfClusters_1 * Total_Channels ;
SystemCapacity_2 = NoOfClusters_2 * Total_Channels ;
SystemCapacity_3 = NoOfClusters_3 * Total_Channels ;
SystemCapacity_4 = NoOfClusters_4 * Total_Channels ;

printf ( "System Capacity (for Cluster Size 4) = %d Channels \n " , SystemCapacity_1 ) ;


printf ( "System Capacity (for Cluster Size 7) = %d Channels \n " , SystemCapacity_2 ) ;
printf ( "System Capacity (for Cluster Size 8) = %d Channels \n " , SystemCapacity_3 ) ;
printf ( "System Capacity (for Cluster Size 10) = %d Channels \n " , SystemCapacity_4 ) ;
X =[N1,N2,N3,N4];
Y = [SystemCapacity_1,SystemCapacity_2,SystemCapacity_3,SystemCapacity_4];
plot(X,Y);
xlabel("Cluster Size");

Aayush Singh (2018IMG-001) WCT LAB Assignment 1


3
ylabel("System Capacity");

Output –

3. Write a Scilab code to calculate Reuse factor for AMPS


and GSM.
Formulas –
Reuse factor N is:

Aayush Singh (2018IMG-001) WCT LAB Assignment 1


4
N=1/3 * (6(S/I)) ^ (2/PPL)

Where,

S/I =10((S/I Ratio in dB)/10)

PPL is Propagation Pathloss Coefficient.

Assumed Values –
S/Iamps = 20 db

S/Igsm = 15 db

PPL = 3

Code –
clc ;
clear all;
AMP_SI =20;
GSM_SI =15;
PPL =3;
AMP_N =(1/3) *((6*10^(0.1* AMP_SI ) ) ^(2/ PPL ) ) ;
GSM_N =(1/3) *((6*10^(0.1* GSM_SI ) ) ^(2/ PPL ) ) ;
printf ( "Reuse Factor for AMP System = %f = Approx %d \n" , AMP_N , AMP_N +1);
printf ( "Reuse Factor for GSM System = %f = Approx %d \n" , GSM_N , GSM_N +1);

Output –

Aayush Singh (2018IMG-001) WCT LAB Assignment 1


5

You might also like