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 --- 1592/CH7/EX7.11/Example_7_11.sce | 31 +++++++++++++++++++++++++++++++ 1592/CH7/EX7.11/Fig7_11_3.jpg | Bin 0 -> 5704 bytes 2 files changed, 31 insertions(+) create mode 100755 1592/CH7/EX7.11/Example_7_11.sce create mode 100755 1592/CH7/EX7.11/Fig7_11_3.jpg (limited to '1592/CH7/EX7.11') 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 new file mode 100755 index 000000000..4f7dcb59a Binary files /dev/null and b/1592/CH7/EX7.11/Fig7_11_3.jpg differ -- cgit