From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 569/CH6/EX6.30/6_30.sci | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 569/CH6/EX6.30/6_30.sci (limited to '569/CH6/EX6.30') 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) =') -- cgit