question about convolution and foureir transformations
Show older comments
hello...
I have a question about the convolution of two functions, I found the "conv" function in Matlab, but this is for discrete values, I want to compute the convolution of two function and I used the Fourier transformation, theoretically like this :
f1 = sym('exppdf(t,55)'); %%function 1
f2 = sym('wblpdf(t,2,6)'); %%function 2
f = ifourier(fourier(f1)*fourier(f2)) %%in theory, this is the convolution function using the fourier transformation
but the result returned by matlab is an integral not evaluated :
1/4/pi^2*int(4*pi^2*exppdf(-_U1,55)*wblpdf(x+_U1,2,6),_U1 = -Inf .. Inf)
my question is how can I evaluate (with Matlab) this expression, or how can I Plot it...??
Thank you very much
1 Comment
Walter Roberson
on 28 Aug 2012
I'm not sure how this differs from your previous question http://www.mathworks.co.uk/matlabcentral/answers/46721-how-can-i-comput-convolution-of-two-functions ?
Answers (1)
Greg Heath
on 28 Aug 2012
0 votes
Since you cannot get an explicit symbolic expression, obtain a numerical result using conv(a,b) or ifft(fft(a).*fft(b))
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!