#Overlap Add Method of Digital Signal Progcessing.
#Python Programming
#OUTPUT:::
Enter the length of the x(n) matrix : 4
Enter 1 element : 1
Enter 2 element : 2
Enter 3 element : 3
Enter 4 element : 4
Enter the length of the h(n) matrix : 3
Enter 1 element : 9
Enter 2 element : 8
Enter 3 element : 7
Enter the value of l : 2
The value of p is : 3
The value of n is : 4
x(n) :
[1, 2, 3, 4]
h(n) :
[9, 8, 7]
The Different values of X(inputs) :
X1 :
[1, 2, 0, 0]
X2 :
[3, 4, 0, 0]
X3 :
[0, 0, 0, 0]
The Different values of Y(Output) :
Y1 :
[9, 26, 23, 14]
Y2 :
[27, 60, 53, 28]
Y3 :
[0, 0, 0, 0]
****** Final answer of overlap add method ******* :
[9, 26, 50, 74, 53]
**** Programmed By : AFZAL JUNEJA *****