question about convolution and foureir transformations
显示 更早的评论
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 个评论
Walter Roberson
2012-8-28
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 ?
回答(1 个)
Greg Heath
2012-8-28
0 个投票
Since you cannot get an explicit symbolic expression, obtain a numerical result using conv(a,b) or ifft(fft(a).*fft(b))
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!