summaryrefslogtreecommitdiff
path: root/116/CH3/EX3.1
diff options
context:
space:
mode:
Diffstat (limited to '116/CH3/EX3.1')
-rwxr-xr-x116/CH3/EX3.1/exa3_1.sce36
1 files changed, 18 insertions, 18 deletions
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