Signals and system Spring 2016 03222016 In lab6 you found co

Signals and system (Spring 2016), 03/22/2016 In lab#6 you found convolution (h(t)*x(t)) using three methods (analytically, graphically (area using rectangular approximation or quad), and MATLAB in-built function). h(t) = sin(pi t) (u(t) - u(t - 1)) x(t) = 1.5(u(t) - u(t - 1)) You found that the shape of the plot of h(t)*x(t) agrees in all the three methods but the magnitude does not, why so? Explain how those three methods calculate convolution.

Solution

clear all;

close all;

clc;

t=0:0.1:5;

x=sin(pi*t);

subplot(3,1,1);

plot(t,x);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'sinusoidal sequence\');

t=0:0.1:5;

y=1.5*I[1 1 1 1 1 1 1 1 1 1 1]_;

subplot(3,1,2);

plot(t,y);

xlabel(\'time\');

ylabel(\'amplitude\');

z=conv(x,y);

plot(z)

add=x+y;

subplot(3,1,3);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'signal addition\');

 Signals and system (Spring 2016), 03/22/2016 In lab#6 you found convolution (h(t)*x(t)) using three methods (analytically, graphically (area using rectangular

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site