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 /569/CH6/EX6.30 | |
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 '569/CH6/EX6.30')
-rwxr-xr-x | 569/CH6/EX6.30/6_30.sci | 18 |
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) =')
|