Any convolution is defined as
(f∗g)(t)=∫∞−∞f(x)g(t−x)dx=∫∞−∞g(x)f(t−x)dx
Trying to do it... Never done this type of question before.
(f∗h)(3)=∫∞−∞f(x)h(3−x)dx=∫∞∞h(x)f(3−x)dx
But f(x) is only defined in {-1<=x<=1|x∈Z}
h(x) is only defined in {1<=x<=5|x∈Z}
So Idk what does it mean by integrating f(x)h(3-x) from infinity to negative infinity... How on Mars could I do that?
The definition of the discrete convolution is:
f∗h[n]=∞∑m=−∞f[m]g[n−m].
We require the solution for the case n=3:
f∗h[3]=1∑m=−1f[m]g[3−m],
since f[m]=0,for: m≠−1,0,1.
Our solution is:
f∗h[3]=f[−1]g[4]+f[0]g[3]+f[1]g[2]=aI4+bI3+cI2.
.An intuitive approach of solving discrete convolution is sliding an inverted version of f over h. For n=0 we have:
m−1012345h00I1I2I3I4I5fcba0000f∗h[0]00aI10000
the convolution product in this case is the product of each column.Now we slide f three places:
m−1012345h00I1I2I3I4I5f000cba0f∗h[3]000cI2bI3aI40
and we have the same solution.
.