You are on page 1of 2

%Experiment No.

4
%Aim: TO perform the analysis of discrete LTI system in time domain
%

and plot its impulse

%Author: Akshay Jain, Ameya Singru, Abhishek Sharma

close all;
subplot(3,1,1);
xn=[1 1 1 1 1];
xlabel('time');
ylabel('amplitude');
stem(xn);
title('First sequence');
x=0:0.1:4;
yn=[2 2 2 2 2];
xlabel('time');
ylabel('amplitude');
subplot(3,1,2);
stem(yn);
title('Second sequence');
subplot(3,1,3);
z=conv(yn,xn);
xlabel('time');
ylabel('amplitude');
stem(z);
title('Convolution');

You might also like