DSP Practical 6 - Merged
DSP Practical 6 - Merged
UNIVERSITY OF DELHI
EXPERIMENT NO. 6
clc;
clear;
close;
n=-7:1:7;
x=[7,5,4,0];
h=[0,3,6,2,9];
y=conv(x,h);
subplot(3,1,1);
stem(x);
xlabel('n');
ylabel('x[n]');
title('Input sequence x[n]');
subplot(3,1,2);
stem(h);
xlabel('n');
ylabel('h[n]');
title('Input sequence h[n]');
subplot(3,1,3);
stem(y);
xlabel('n');
ylabel('y[n]');
title('Linear
convolution');
OUTPUT :-
Result: The linear convolution has been plotted Also validate the results by solving the convolution
manually successfully.