summaryrefslogtreecommitdiff
path: root/116/CH3/EX3.2
diff options
context:
space:
mode:
Diffstat (limited to '116/CH3/EX3.2')
-rwxr-xr-x116/CH3/EX3.2/exa3_2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/116/CH3/EX3.2/exa3_2.sce b/116/CH3/EX3.2/exa3_2.sce
new file mode 100755
index 000000000..f2c233f69
--- /dev/null
+++ b/116/CH3/EX3.2/exa3_2.sce
@@ -0,0 +1,26 @@
+//Caption:Program to calculate the minimum bit rate for a PCM encoder must provide for high fidelity
+
+//Example 3.2
+
+//Page 105
+
+dr=40//dynamic range=400dB
+
+SNR=50//signal to noise ratio =5 0dB
+
+SQR=dr+SNR
+
+n=[(SQR-1.76)/6.02]
+
+disp('This can be approximated to 15 bits per sample')
+
+disp('Assuming excess sampling factor using D-type channel, we choose sampling rate as 48KHz')
+
+disp('Therefore required bit rate is')
+
+15*48000
+
+//Result
+
+//720kbps
+ \ No newline at end of file