summaryrefslogtreecommitdiff
path: root/2409/CH9
diff options
context:
space:
mode:
Diffstat (limited to '2409/CH9')
-rwxr-xr-x2409/CH9/EX9.1/Ex9_1.sce14
-rwxr-xr-x2409/CH9/EX9.2/Ex9_2.sce13
-rwxr-xr-x2409/CH9/EX9.3/Ex9_3.sce18
-rwxr-xr-x2409/CH9/EX9.4/Ex9_4.sce16
-rwxr-xr-x2409/CH9/EX9.5/Ex9_5.sce23
-rwxr-xr-x2409/CH9/EX9.6/Ex9_6.sce17
6 files changed, 101 insertions, 0 deletions
diff --git a/2409/CH9/EX9.1/Ex9_1.sce b/2409/CH9/EX9.1/Ex9_1.sce
new file mode 100755
index 000000000..cd04faaaa
--- /dev/null
+++ b/2409/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,14 @@
+
+//Variable Declaration
+
+Bs=4.2 //Signal Bandwidth(MHz)
+delf=2.56 //Deviation Ratio
+
+//Calculation
+delF=Bs*delf //Peak Deviation(MHz)
+BIF=2*(delF+Bs) //Signal Bandwidth(MHz)
+BIF=BIF
+//Results
+
+printf("The peak deviation is: %.3f MHz", delF)
+printf("Signal Bandwidth is : %.1f MHz",BIF)
diff --git a/2409/CH9/EX9.2/Ex9_2.sce b/2409/CH9/EX9.2/Ex9_2.sce
new file mode 100755
index 000000000..c77a0840b
--- /dev/null
+++ b/2409/CH9/EX9.2/Ex9_2.sce
@@ -0,0 +1,13 @@
+//Variable Declaration
+
+delF=200 //Peak Deviation(kHz)
+f=0.8 //Test tone frequency (kHz)
+
+//Calculation
+m=delF/f //Modualtion index
+B=2*(delF+f) //Bandwidth of the signal(kHz)
+
+//Results
+printf("The modulation index is %.f" , m)
+printf("Bandwidth of the signal is %.1f kHz",B)
+
diff --git a/2409/CH9/EX9.3/Ex9_3.sce b/2409/CH9/EX9.3/Ex9_3.sce
new file mode 100755
index 000000000..4e4bf0bf3
--- /dev/null
+++ b/2409/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,18 @@
+
+//Variable Declaration
+
+Bs1=4.2 //Signal Bandwidth(MHz) of Example 9.1
+delf=2.56 //Deviation Ratio of Example 9.1
+
+delF2=200 //Peak Deviation(kHz) of Example 9.2
+Bs2=0.8 //Test tone frequency (kHz) of Example 9.2
+
+//Calculation
+delF1=Bs1*delf //Peak Deviation(MHz) of Example 9.1
+BIF1=2*(delF1+2*Bs1) //Signal Bandwidth(MHz) of Example 9.1 according to Carson's rule
+BIF2=2*(delF2+2*Bs2) //Signal Bandwidth(kHz) of Example 9.2 according to Carson's rule.
+
+//Results
+
+printf("Signal Bandwidth of Example 9.1 by Carsons rule is %.1f MHz",BIF1)
+printf("\nSignal Bandwidth of Example 9.2 by Carsons rule is %.1f kHz",BIF2)
diff --git a/2409/CH9/EX9.4/Ex9_4.sce b/2409/CH9/EX9.4/Ex9_4.sce
new file mode 100755
index 000000000..58019fe97
--- /dev/null
+++ b/2409/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,16 @@
+
+//Variable Declaration
+
+delf=5 //Deviation frequency (kHz)
+Bs=1 //Test Tone Frequency (kHz)
+CNR=30 //Carrier to noise ration(dB)
+
+//Calculation
+m=delf/Bs //Modulation Index
+Gp=3*(m**2)*(m+1) //Processing gain for sinusoidal modulation
+Gp=10*log10(Gp) //Converting Gp into dB
+SNR=CNR+Gp
+
+//Results
+printf("The receiver processing gain is %.1f dB",Gp)
+printf("\nThe Signal to noise ratio is %.1f dB",SNR)
diff --git a/2409/CH9/EX9.5/Ex9_5.sce b/2409/CH9/EX9.5/Ex9_5.sce
new file mode 100755
index 000000000..d056d5cf3
--- /dev/null
+++ b/2409/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,23 @@
+
+//Variable Declaration
+
+n=24 //Number of channels
+g=13.57 //Peak/rms factor(dB)
+b=3.1 //Channel Bandwidth(kHz)
+P=4 //Emphasis improvement (dB)
+W=2.5 //Noise weighting improvement(dB)
+CNR=25 //Carrier to noise ratio (dB)
+delFrms=35 //rms value of Peak Deviation(kHz)
+fm=108 //Baseband frequency (kHz)
+//Calculation
+
+L=10**((-1+4*log10(n))/20)
+g=10**(g/20) //Converting process gain to ratio
+delF=g*delFrms*L //Peak Deviation(Hz)
+BIF=2*(delF+fm) //Signal Bandwidth(kHz) by Carson's rule
+Gp=(BIF/b)*((delFrms/fm)**2) //Processing Gain
+Gp=10*log10(Gp) //Converting Gp to dB
+SNR=CNR+Gp+P+W //Signal to noise ratio for top channel in 24-channel FDM basseband signal
+
+//Results
+printf("Signal to noise ratio for top channel in 24-channel FDM Baseband signal is %.1f db", SNR)
diff --git a/2409/CH9/EX9.6/Ex9_6.sce b/2409/CH9/EX9.6/Ex9_6.sce
new file mode 100755
index 000000000..0e289811f
--- /dev/null
+++ b/2409/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,17 @@
+
+//Variable Declaration
+
+delF=9 //Peak Deviation (MHz)
+fm=4.2 //Baseband frequency(MHz)
+SNR=62 //Signal to noise ration(dB)
+M=11.8 //Noise weighing(P)+emphasis improvement(W)-implementation margin(IMP)
+
+//Calculation
+
+D=delF/fm //Modulation Index
+GPV=12*(D**2)*(D+1) //Processing Gain for TV
+GPV=10*log10(GPV) //Converting GPV into dB
+CNR=SNR-GPV-M //carrier to noise ratio(dB)
+
+//Results
+printf("The Carrier to noise ratio required at the input of FM detector is %.1f dB",CNR)