From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3542/CH6/EX6.5/Ex6_5.sce | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 3542/CH6/EX6.5/Ex6_5.sce (limited to '3542/CH6/EX6.5/Ex6_5.sce') diff --git a/3542/CH6/EX6.5/Ex6_5.sce b/3542/CH6/EX6.5/Ex6_5.sce new file mode 100644 index 000000000..eece39a05 --- /dev/null +++ b/3542/CH6/EX6.5/Ex6_5.sce @@ -0,0 +1,30 @@ +// Example no 6.5 +// To determine the analog bandwidth, output SNR improvement if modulation index is increased from 3 to 5 and tradeoff bandwidth for this improvement. +// Page no. 277 + +clc; +clear all; + +// Given data +fm=5*10^3; // Audio bandwidth of FM signal +betaf1=3; // Initial modulation index +betaf2=5; // Final modulation index + +// To determine analog bandwidth +BT1=2*(betaf1+1)*fm; // The analog bandwidth +BT2=2*(betaf2+1)*fm; // The analog bandwidth + +// To determine output SNR improvement factor +SNR1=3*betaf1^3+3*betaf1^2; // Output SNR factor for modulation index=3 +SNR1=10*log10(SNR1); // Output SNR factor for modulation index=3 in dB +SNR2=3*betaf2^3+3*betaf2^2; // Output SNR factor for modulation index=3 +SNR2=10*log10(SNR2); // Output SNR factor for modulation index=3 in dB + +// To determine improvement in output SNR by increasing modulation index +improvedSNR=SNR2-SNR1; // Improvement in output SNR by increasing modulation index + +// Displaying the result in command window +printf('\n Using Carson rule, the analog bandwidth at 3 modulation index occupied by FM signal = %0.0f KHz',BT1*10^-3); +printf('\n Using Carson rule, the analog bandwidth at 5 modulation index occupied by FM signal = %0.0f KHz',BT2*10^-3); +printf('\n Improvement in output SNR by increasing modulation index = %0.1f dB',improvedSNR); +printf('\n \n This improvement is achieved at the expenses of bandwidth. For modulation index = 3, a bandwidth of 40kHz is needed,\n while for modulation index = 5 requires bandwidth = 60kHz.'); -- cgit