diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /116/CH3/EX3.2/exa3_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '116/CH3/EX3.2/exa3_2.sce')
-rwxr-xr-x | 116/CH3/EX3.2/exa3_2.sce | 26 |
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 |