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 /1592/CH9/EX9.6 | |
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 '1592/CH9/EX9.6')
-rwxr-xr-x | 1592/CH9/EX9.6/Fig9_6_1.jpg | bin | 0 -> 7992 bytes | |||
-rwxr-xr-x | 1592/CH9/EX9.6/Fig9_6_2.jpg | bin | 0 -> 8513 bytes | |||
-rwxr-xr-x | 1592/CH9/EX9.6/example_9_6.sce | 26 |
3 files changed, 26 insertions, 0 deletions
diff --git a/1592/CH9/EX9.6/Fig9_6_1.jpg b/1592/CH9/EX9.6/Fig9_6_1.jpg Binary files differnew file mode 100755 index 000000000..88aaa321c --- /dev/null +++ b/1592/CH9/EX9.6/Fig9_6_1.jpg diff --git a/1592/CH9/EX9.6/Fig9_6_2.jpg b/1592/CH9/EX9.6/Fig9_6_2.jpg Binary files differnew file mode 100755 index 000000000..d1a28d866 --- /dev/null +++ b/1592/CH9/EX9.6/Fig9_6_2.jpg diff --git a/1592/CH9/EX9.6/example_9_6.sce b/1592/CH9/EX9.6/example_9_6.sce new file mode 100755 index 000000000..57cd4a8a9 --- /dev/null +++ b/1592/CH9/EX9.6/example_9_6.sce @@ -0,0 +1,26 @@ +//Scilab Code for Example 9.6 of Signals and systems by
+//P.Ramakrishna Rao
+clc;
+clear;
+clear z x y t T;
+A=1;
+n=1;
+wo=2*%pi;
+theta=%pi/2;
+for t=-5:0.01:5;
+ x(n)=A*cos(wo*t+theta);
+ n=n+1;
+end
+t=-5:0.01:5;
+plot(t,x);
+title('x(t)');
+n=1;
+for T=-5:0.1:5;
+ z(n)=(A^2/2)*cos(wo*T);
+ n=n+1;
+end
+figure(1);
+T=-5:0.1:5;
+plot(T,z);
+title('Rxx(T)');
+xlabel('t in seconds')
|