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.14/EXAMPLE8_14.SCE | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1895/CH8/EX8.14/EXAMPLE8_14.SCE (limited to '1895/CH8/EX8.14') diff --git a/1895/CH8/EX8.14/EXAMPLE8_14.SCE b/1895/CH8/EX8.14/EXAMPLE8_14.SCE new file mode 100755 index 000000000..19606fd29 --- /dev/null +++ b/1895/CH8/EX8.14/EXAMPLE8_14.SCE @@ -0,0 +1,19 @@ +//ANALOG AND DIGITAL COMMUNICATION +//BY Dr.SANJAY SHARMA +//CHAPTER 7 +//WAVEFORM CODING TECHNIQUES +clear all; +clc; +printf("EXAMPLE 8.14(PAGENO 406)"); + +//given +f_s = 8*10^3//sampling rate +q = 64//quantization levels +delta = 31.25//step size + +//calculations +v = log2(q);//no fo bits in the PC +f_s= (2*%pi*3*10^3)/delta//signalling rate which should be greater than the obtaining value + +//results +printf("\n\nSignalling rate = %.2f Hz",f_s); -- cgit