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 /2582/CH3/EX3.20 | |
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 '2582/CH3/EX3.20')
-rwxr-xr-x | 2582/CH3/EX3.20/Ex3_20.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2582/CH3/EX3.20/Ex3_20.sce b/2582/CH3/EX3.20/Ex3_20.sce new file mode 100755 index 000000000..f795c70b4 --- /dev/null +++ b/2582/CH3/EX3.20/Ex3_20.sce @@ -0,0 +1,14 @@ +//Ex 3.20
+clc;clear;close;
+format('v',6);
+omegaBYomega0=[0 0.5 1 5 10 100];
+//T=omega0/sqrt(omega0^2+omega^2);//Gain
+for i=1:6
+T(i)=1/sqrt(1^2+omegaBYomega0(i)^2);//Gain
+end
+G=20*log10(T);//dB
+A=-20*log10(T);//dB
+fi=-atand(omegaBYomega0);//degree
+disp("omega/omega0 T(j*omega) (G(dB)) A(dB) fi")
+table=[omegaBYomega0' T G A fi'];
+disp(table);
|