Inverse Fourier Transform help (pdf from first characteristic function)

조회 수: 5 (최근 30일)
Salvatore
Salvatore 2012년 5월 15일
Hello,
I have a program that generates a truncated version of the second characteristic function (cumulant generating function) of a random variable. From this I calculate first characteristic function (moment generating function), using the following loop:
syms s x
firstchar = 1;
for i = 1:k
firstchar = firstchar*exp(s^(i)*cumulant(i)/factorial(i));
end
Next I take the inverse Fourier Transform of the first characteristic function to get the pdf. This is all done symbolically with the following code
f_cs = simplify(eval(firstchar));
f_cs = subs(f_cs, s, -1i*x);
pdf = ifourier(f_cs, x, t);
In most cases (for i > 2 in the above loop) I am not able to find a closed form of the pdf.
Can anyone help? I don't necessarily need to do this symbolically, and have tried using ifft, but nothing seems to work. Any ideas?
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by