diff options
Diffstat (limited to '3788/CH5/EX5.2.2/Ex5_2_2.sce')
-rw-r--r-- | 3788/CH5/EX5.2.2/Ex5_2_2.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3788/CH5/EX5.2.2/Ex5_2_2.sce b/3788/CH5/EX5.2.2/Ex5_2_2.sce new file mode 100644 index 000000000..1ce9fcd18 --- /dev/null +++ b/3788/CH5/EX5.2.2/Ex5_2_2.sce @@ -0,0 +1,17 @@ +//Example 5.2.2
+//Calculate the baseband SN ratio for the Voice channel
+
+//Variables
+clc
+clear
+Fmax = 3.4
+Brf = 45
+Rs = 9.6
+P = 8.8
+SNratio = 7
+CNratio = 13
+
+//result
+delFpk = Brf/2 - Fmax
+SNfm = CNratio + 10*log10(Brf/Fmax) + 20*log10(delFpk/Fmax) + 1.8 + P
+printf("The baseband SN ratio for the voice channel is %f dB ",SNfm)
|