summaryrefslogtreecommitdiff
path: root/3542/CH9
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3542/CH9
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3542/CH9')
-rw-r--r--3542/CH9/EX9.1/9_1.jpgbin0 -> 111442 bytes
-rw-r--r--3542/CH9/EX9.1/Ex9_1.sce48
-rw-r--r--3542/CH9/EX9.2/9_2.jpgbin0 -> 53964 bytes
-rw-r--r--3542/CH9/EX9.2/Ex9_2.sce17
-rw-r--r--3542/CH9/EX9.3/9_3.jpgbin0 -> 51061 bytes
-rw-r--r--3542/CH9/EX9.3/Ex9_3.sce18
-rw-r--r--3542/CH9/EX9.4/9_4.jpgbin0 -> 63633 bytes
-rw-r--r--3542/CH9/EX9.4/Ex9_4.sce29
-rw-r--r--3542/CH9/EX9.5/9_5.jpgbin0 -> 53214 bytes
-rw-r--r--3542/CH9/EX9.5/Ex9_5.sce24
-rw-r--r--3542/CH9/EX9.6/9_6.jpgbin0 -> 53922 bytes
-rw-r--r--3542/CH9/EX9.6/Ex9_6.sce20
-rw-r--r--3542/CH9/EX9.7/9_7.jpgbin0 -> 101994 bytes
-rw-r--r--3542/CH9/EX9.7/Ex9_7.sce29
-rw-r--r--3542/CH9/EX9.9/9_9.jpgbin0 -> 63342 bytes
-rw-r--r--3542/CH9/EX9.9/Ex9_9.sce23
16 files changed, 208 insertions, 0 deletions
diff --git a/3542/CH9/EX9.1/9_1.jpg b/3542/CH9/EX9.1/9_1.jpg
new file mode 100644
index 000000000..f26361ce6
--- /dev/null
+++ b/3542/CH9/EX9.1/9_1.jpg
Binary files differ
diff --git a/3542/CH9/EX9.1/Ex9_1.sce b/3542/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..dd160e1ea
--- /dev/null
+++ b/3542/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,48 @@
+// Example no 9.1
+// To find the intermodulation frequencies generated
+// Page no. 451
+
+clc;
+clear all;
+
+// Given data
+f1=1930; // First carrier frequency
+f2=1932; // second carrier frequency
+F1=1920; // Lower frequency of the band
+F2=1940; // Upper frequency of the band
+
+for n=0:3
+ x1=(2*n+1)*f1-2*n*f2
+ if x1 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x1);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x1);
+ end
+end
+
+for n=0:3
+ x2=(2*n+2)*f1-(2*n+1)*f2
+ if x2 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x2);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x2);
+ end
+end
+
+for n=0:3
+ x3=(2*n+1)*f2-2*n*f1
+ if x3 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x3);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x3);
+ end
+end
+
+for n=0:3
+ x4=(2*n+2)*f2-(2*n+1)*f1
+ if x4 < = F2 then
+ printf('\n IF frequency %0.0f MHz lies inside the band',x4);
+ else
+ printf('\n IF frequency %0.0f MHz lies outside the band',x4);
+ end
+end
diff --git a/3542/CH9/EX9.2/9_2.jpg b/3542/CH9/EX9.2/9_2.jpg
new file mode 100644
index 000000000..753b2595b
--- /dev/null
+++ b/3542/CH9/EX9.2/9_2.jpg
Binary files differ
diff --git a/3542/CH9/EX9.2/Ex9_2.sce b/3542/CH9/EX9.2/Ex9_2.sce
new file mode 100644
index 000000000..39c7ad686
--- /dev/null
+++ b/3542/CH9/EX9.2/Ex9_2.sce
@@ -0,0 +1,17 @@
+// Example no 9.2
+// To find number of channels available
+// Page no. 452
+
+clc;
+clear all;
+
+// Given data
+Bt=12.5*10^6; // Total spectrum allocation in Hz
+Bguard=10*10^3; // Guard band allocated in Hz
+Bc=30*10^3; // Channel bandwidth in Hz
+
+// The number of channels available
+N=(Bt-2*Bguard)/Bc; // The number of channels available
+
+// Displaying the result in command window
+printf('\n The number of channels available in FDMA system = %0.0f',N);
diff --git a/3542/CH9/EX9.3/9_3.jpg b/3542/CH9/EX9.3/9_3.jpg
new file mode 100644
index 000000000..7237db172
--- /dev/null
+++ b/3542/CH9/EX9.3/9_3.jpg
Binary files differ
diff --git a/3542/CH9/EX9.3/Ex9_3.sce b/3542/CH9/EX9.3/Ex9_3.sce
new file mode 100644
index 000000000..10da69a7f
--- /dev/null
+++ b/3542/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,18 @@
+// Example no 9.3
+// To find number of simultaneous users accommodated in GSm
+// Page no. 455
+
+clc;
+clear all;
+
+// Given data
+m=8; // Maximum speech channels supported by single radio channel
+Bc=200*10^3; // Radio channel bandwidth in Hz
+Bt=25*10^6; // Total spectrum allocated for forward link
+Bguard=0; // Guard band allocated in Hz
+
+// The number of simultaneous users accommodated in GSm
+N=(m*(Bt-2*Bguard))/Bc; // The number of simultaneous users
+
+// Displaying the result in command window
+printf('\n The number of simultaneous users accommodated in GSM system = %0.0f',N);
diff --git a/3542/CH9/EX9.4/9_4.jpg b/3542/CH9/EX9.4/9_4.jpg
new file mode 100644
index 000000000..b7a6894a7
--- /dev/null
+++ b/3542/CH9/EX9.4/9_4.jpg
Binary files differ
diff --git a/3542/CH9/EX9.4/Ex9_4.sce b/3542/CH9/EX9.4/Ex9_4.sce
new file mode 100644
index 000000000..afe152911
--- /dev/null
+++ b/3542/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,29 @@
+// Example no 9.4
+// To find a)the time duration of a bit b)the time duration of a slot c)the time duration of a frame d)how long must a user occupying single time slot wait between two successive transmission
+// Page no. 456
+
+clc;
+clear all;
+
+// Given data
+N=8; // Number of time slots in each frame
+Nb=156.25; // Number of in each time slot
+DR=270.833*10^3; // Data rate of transmission in channel
+
+// a)To find the time duration of a bit
+Tb=1/DR; // The time duration of a bit in sec
+
+// b)To find the time duration of a slot
+Tslot=Nb*Tb; // The time duration of a slot
+
+// c)To find the time duration of a frame
+Tf=N*Tslot; // The time duration of a frame
+
+//d) The waiting time between two successive transmission
+Tw=Tf; // The arrival time of new frame for its next transmission
+
+// Displaying the result in command window
+printf('\n The time duration of a bit = %0.3f microseconds',Tb*10^6);
+printf('\n The time duration of a slot = %0.3f ms',Tslot*10^3);
+printf('\n The time duration of a frame = %0.3f ms',Tf*10^3);
+printf('\n The arrival time of new frame for its next transmission = %0.3f ms',Tw*10^3);
diff --git a/3542/CH9/EX9.5/9_5.jpg b/3542/CH9/EX9.5/9_5.jpg
new file mode 100644
index 000000000..7fcdca6fc
--- /dev/null
+++ b/3542/CH9/EX9.5/9_5.jpg
Binary files differ
diff --git a/3542/CH9/EX9.5/Ex9_5.sce b/3542/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..b7439460a
--- /dev/null
+++ b/3542/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,24 @@
+// Example no 9.5
+// To find the frame efficiency
+// Page no. 456
+
+clc;
+clear all;
+
+// Given data
+Btrail=6; // Number of trailing bits per slot
+Bg=8.25; // Number of guard bits per slot
+Btrain=26; // Number of training bits per slot
+Nb=2; // Number of burst
+Bburst=58; // Number of bits in each burst
+Nslot=8; // Number of slots in each frame
+
+N=Btrail+Bg+Btrain+2*Bburst; // Total number of bits in each slot
+Nf=Nslot*N; // Total number of bits in a frame
+bOH=Nslot*Btrail+Nslot*Bg+Nslot*Btrain; // Number of overhead bits per frame
+
+// To find the frame efficiency
+nf=(1-(bOH/Nf))*100; // Frame efficiency
+
+// Displaying the result in command window
+printf('\n The frame efficiency = %0.2f percentage',nf);
diff --git a/3542/CH9/EX9.6/9_6.jpg b/3542/CH9/EX9.6/9_6.jpg
new file mode 100644
index 000000000..74470d005
--- /dev/null
+++ b/3542/CH9/EX9.6/9_6.jpg
Binary files differ
diff --git a/3542/CH9/EX9.6/Ex9_6.sce b/3542/CH9/EX9.6/Ex9_6.sce
new file mode 100644
index 000000000..856823f85
--- /dev/null
+++ b/3542/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,20 @@
+// Example no 9.6
+// To determine the maximum throughput using ALOHA and slotted ALOHA
+// Page no. 466
+
+clc;
+clear all;
+
+//The maximum throughput using ALOHA
+Rmax=1/2; //Maximum rate of arrival calculated by equating ALOHA throughput formula derivative to zero
+T=Rmax*exp(-1); //The maximum throughput using ALOHA
+
+// Displaying the result in command window
+printf('\n The maximum throughput using ALOHA = %0.4f',T);
+
+//The maximum throughput using slotted ALOHA
+Rmax=1; //Maximum rate of arrival calculated by equating slotted ALOHA throughput formula derivative to zero
+T=Rmax*exp(-1); //The maximum throughput using slotted ALOHA
+
+// Displaying the result in command window
+printf('\n The maximum throughput using slotted ALOHA = %0.4f',T);
diff --git a/3542/CH9/EX9.7/9_7.jpg b/3542/CH9/EX9.7/9_7.jpg
new file mode 100644
index 000000000..9c2efb4d2
--- /dev/null
+++ b/3542/CH9/EX9.7/9_7.jpg
Binary files differ
diff --git a/3542/CH9/EX9.7/Ex9_7.sce b/3542/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..d1f70a14f
--- /dev/null
+++ b/3542/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,29 @@
+// Example no 9.7
+// To evaluate 4 different radio standards and to choose the one with maximum capacity
+// Page no. 472
+
+clc;
+clear all;
+
+// Given data
+ABc=30*10^3; // Channel bandwidth of system A
+ACImin=18; // The tolerable value of carrier to interference ratio for system A
+BBc=25*10^3; // Channel bandwidth of system B
+BCImin=14; // The tolerable value of carrier to interference ratio for system B
+CBc=12.5*10^3; // Channel bandwidth of system C
+CCImin=12; // The tolerable value of carrier to interference ratio for system C // Value of CCImin is given wrong in book
+DBc=6.25*10^3; // Channel bandwidth of system D
+DCImin=9; // The tolerable value of carrier to interference ratio for system D
+Bc=6.25*10^3; // Bandwidth of particular system
+
+ACIeq=ACImin+20*log10(Bc/ABc); // Minimum C/I for system A when compared to the (C/I)min for particular system
+BCIeq=BCImin+20*log10(Bc/BBc); // Minimum C/I for system B when compared to the (C/I)min for particular system
+CCIeq=CCImin+20*log10(Bc/CBc); // Minimum C/I for system C when compared to the (C/I)min for particular system
+DCIeq=DCImin+20*log10(Bc/DBc); // Minimum C/I for system D when compared to the (C/I)min for particular system
+
+// Displaying the result in command window
+printf('\n Minimum C/I for system A when compared to the (C/I)min for particular system = %0.3f dB',ACIeq);
+printf('\n Minimum C/I for system B when compared to the (C/I)min for particular system = %0.2f dB',BCIeq);
+printf('\n Minimum C/I for system C when compared to the (C/I)min for particular system = %0.0f dB',CCIeq);
+printf('\n Minimum C/I for system D when compared to the (C/I)min for particular system = %0.0f dB',DCIeq);
+printf('\n \n Based on comparison, the smallest value of C/I should be selected for maximum capacity. So, System B offers the best capacity.')
diff --git a/3542/CH9/EX9.9/9_9.jpg b/3542/CH9/EX9.9/9_9.jpg
new file mode 100644
index 000000000..7e9c10914
--- /dev/null
+++ b/3542/CH9/EX9.9/9_9.jpg
Binary files differ
diff --git a/3542/CH9/EX9.9/Ex9_9.sce b/3542/CH9/EX9.9/Ex9_9.sce
new file mode 100644
index 000000000..41c515a1e
--- /dev/null
+++ b/3542/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,23 @@
+// Example no 9.9
+// To determine the maximum number of users using a)omnidirectional base station antenna and no voice activity b)three-sectors at the base station and voice activity detection
+// Page no. 472
+
+clc;
+clear all;
+
+// Given data
+W=1.25*10^6; // Total RF bandwidth in Hz
+R=9600; // Baseband information bit rate in bps
+EbNo=10; // Minimum acceptable SNR in dB
+
+// a)Maximum number of users using omnidirectional base station antenna and no voice activity
+N1=1+(W/R)/EbNo; // Maximum number of users using omnidirectional
+
+// b)Maximum number of users using three-sectors at the base station antenna and voice activity with alpha=3/8
+alpha=3/8; // Voice activity factor
+Ns=1+(1/alpha)*((W/R)/EbNo); // Maximum number of users
+N2=3*Ns; // Maximum number of users using three-sectors
+
+// Displaying the result in command window
+printf('\n Maximum number of users using omnidirectional base station antenna and no voice activity = %0.0f',N1);
+printf('\n Maximum number of users using three-sectors at the base station antenna and voice activity (with alpha=3/8) = %0.0f',N2);