a Find the output by direct convolution Note that this shoul

a) Find the output by direct convolution. Note that this should require very little computation.

b) Find the output using the z domain.

c) Show that the results of a) and b) are the same.

Solution

close all;

clear all;

clc;

n=0:0.01:5;

h=(n-2)*(1/3)^n*u(n-2);

y=1;

z=conv(x,y);

subplot(3,1,1);

plot(t,x);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'time signal-1\');

subplot(3,1,2);

plot(t,y);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'time signal-2\');

subplot(\'3,1,3\');

plot(z);

xlabel(\'time\');

ylabel(\'amplitude\');

title(\'convoluted signal\');

a) Find the output by direct convolution. Note that this should require very little computation. b) Find the output using the z domain. c) Show that the results

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site