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/CH7/EX7.11 | |
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/CH7/EX7.11')
-rwxr-xr-x | 1592/CH7/EX7.11/Example_7_11.sce | 31 | ||||
-rwxr-xr-x | 1592/CH7/EX7.11/Fig7_11_3.jpg | bin | 0 -> 5704 bytes |
2 files changed, 31 insertions, 0 deletions
diff --git a/1592/CH7/EX7.11/Example_7_11.sce b/1592/CH7/EX7.11/Example_7_11.sce new file mode 100755 index 000000000..9510a506b --- /dev/null +++ b/1592/CH7/EX7.11/Example_7_11.sce @@ -0,0 +1,31 @@ +//Scilab Code for Example 7.11 of Signals and systems by
+//P.Ramakrishna Rao
+clear;
+clc;
+clear x y n;
+x=[0,0,2,0,0];
+y=[0,0,1,1,0];
+n=-2:2;
+c = gca();
+c.y_location = "origin";
+c.x_location = "origin";
+plot2d2(n,x,2);
+title('x(t)')
+xlabel('t')
+figure(1);
+n=-2:2;
+c = gca();
+c.y_location = "origin";
+c.x_location = "origin";
+plot2d2(n,y,5);
+title('y(t)')
+xlabel('t')
+z=conv(x,y);
+figure(2);
+n=-3:5;
+c = gca();
+c.y_location = "origin";
+c.x_location = "origin";
+plot(n,z,2);
+title('Convoluted signal z(t)')
+xlabel('t')
diff --git a/1592/CH7/EX7.11/Fig7_11_3.jpg b/1592/CH7/EX7.11/Fig7_11_3.jpg Binary files differnew file mode 100755 index 000000000..4f7dcb59a --- /dev/null +++ b/1592/CH7/EX7.11/Fig7_11_3.jpg |