From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1895/CH8/EX8.10/EXAMPLE8_10.SCE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1895/CH8/EX8.10/EXAMPLE8_10.SCE (limited to '1895/CH8/EX8.10') diff --git a/1895/CH8/EX8.10/EXAMPLE8_10.SCE b/1895/CH8/EX8.10/EXAMPLE8_10.SCE new file mode 100755 index 000000000..c180cd95f --- /dev/null +++ b/1895/CH8/EX8.10/EXAMPLE8_10.SCE @@ -0,0 +1,21 @@ +//ANALOG AND DIGITAL COMMUNICATION +//BY Dr.SANJAY SHARMA +//CHAPTER 7 +//WAVEFORM CODING TECHNIQUES +clear all; +clc; +printf("EXAMPLE 8.10(PAGENO 392)"); + +//given +//x(t) = 3*cos(500*%pi*t) +v = 10//number of bits +A_m = 3//peak voltage +SbyN_2 = 40//signal to noise to noise ratio in second condition + +//calculations +SbyN = 1.8 +6*v//signal to noise ratio in dB +v_2 = (40 - 1.8)/6//number of bits needed for SbyN = 40 + +//results +printf("\n\ni.Signal to noise to ratio in dB = %.2f dB",SbyN); +printf("\n\nii.Number of bits needed for noise ratio 40 = %.2f bits",v_2); -- cgit