From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 116/CH3/EX3.1/exa3_1.sce | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to '116/CH3/EX3.1/exa3_1.sce') diff --git a/116/CH3/EX3.1/exa3_1.sce b/116/CH3/EX3.1/exa3_1.sce index 6dafadd7c..e2f8746de 100755 --- a/116/CH3/EX3.1/exa3_1.sce +++ b/116/CH3/EX3.1/exa3_1.sce @@ -1,19 +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 - + + +//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