AIM:To write a program for the generation of Linear convolution for the given sequences by using MATLAB in IT1254 - DSP and Communications Systems Lab.
ALGORITHM:Step 1: Start
Step 2: Read the first sequence
Step 3: Read the second sequence
Step 4: Perform convolution for both the sequences using conv() function
Step 5: Plot the sequence
Step 6: Display the output sequence
Step 7: Stop
x=input('Enter the sequence 1:');
h=input('Enter the sequence 2:');
disp('The resultant signals:');
|Click to view full size image!|
RESULT:Thus the generation of Linear convolution was performed using MATLAB and the output sequences were drawn.