summaryrefslogtreecommitdiff
path: root/569/CH6/EX6.30
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /569/CH6/EX6.30
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '569/CH6/EX6.30')
-rwxr-xr-x569/CH6/EX6.30/6_30.sci18
1 files changed, 18 insertions, 0 deletions
diff --git a/569/CH6/EX6.30/6_30.sci b/569/CH6/EX6.30/6_30.sci
new file mode 100755
index 000000000..57c6321d8
--- /dev/null
+++ b/569/CH6/EX6.30/6_30.sci
@@ -0,0 +1,18 @@
+// Calculating the number of bits, Value of LSB, Quantization error,minimum sampling rate Aperature time and dynamic range
+clc;
+n=14;
+disp(n,'number of bits =')
+E=10;
+Q=10;
+LSB=E/2^n;
+disp(LSB,'Value of LSB (V) =')
+Eq=Q/(2*(3^0.5));
+disp(Eq,'Quantization error (V) =')
+fh=1000;
+fs=5*fh;
+disp(fs,'minimum sampling rate (Hz) =')
+a=1/16384;
+ta=1/(2*%pi*fh)*a;
+disp(ta,'Aperature time (s) =')
+Dr=6*n;
+disp(Dr,'dynamic range (db) =')