summaryrefslogtreecommitdiff
path: root/116/CH3/EX3.2/exa3_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /116/CH3/EX3.2/exa3_2.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '116/CH3/EX3.2/exa3_2.sce')
-rwxr-xr-x116/CH3/EX3.2/exa3_2.sce50
1 files changed, 25 insertions, 25 deletions
diff --git a/116/CH3/EX3.2/exa3_2.sce b/116/CH3/EX3.2/exa3_2.sce
index f2c233f69..8953c29e4 100755
--- a/116/CH3/EX3.2/exa3_2.sce
+++ b/116/CH3/EX3.2/exa3_2.sce
@@ -1,26 +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
+
+
+//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