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 --- 116/CH3/EX3.1/exa3_1.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 116/CH3/EX3.1/exa3_1.sce (limited to '116/CH3/EX3.1') diff --git a/116/CH3/EX3.1/exa3_1.sce b/116/CH3/EX3.1/exa3_1.sce new file mode 100755 index 000000000..6dafadd7c --- /dev/null +++ b/116/CH3/EX3.1/exa3_1.sce @@ -0,0 +1,19 @@ +//Caption:Program to calculate quantization interval and bits needed to encode each sample + +//Example 3.1 + +//Page 101 + +sqr=30//SQR=30dB + +q=1*10^[-(sqr-7.78)/20] + +disp('Thus 13 quantization intervals arer needed for each polarity for a total of 26 intervals in all. The number of bitz required are determined as') + +N=log2(26) + +//Result + +//q = 0.078 V + +//N = 4.7 = 5 bits per sample \ No newline at end of file -- cgit