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 --- 716/CH2/EX2.6/MatLab_ProgEx2_6.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 716/CH2/EX2.6/MatLab_ProgEx2_6.sce (limited to '716/CH2/EX2.6/MatLab_ProgEx2_6.sce') diff --git a/716/CH2/EX2.6/MatLab_ProgEx2_6.sce b/716/CH2/EX2.6/MatLab_ProgEx2_6.sce new file mode 100755 index 000000000..dc430d10e --- /dev/null +++ b/716/CH2/EX2.6/MatLab_ProgEx2_6.sce @@ -0,0 +1,20 @@ +//Perform Convolution of x1(t)=1 for 11&t<10); +x2=1.*(t>2&t<10); +y=convol(x1,x2); +n=length(y);//setting time vector for y +ty=0:1:(n-1); + +subplot(131) +plot2d(t,x1);//first signal +xtitle('first signal x1(t)=1 for 1