Probability density function plot

1 visualizzazione (ultimi 30 giorni)
Maria445
Maria445 il 28 Ott 2018
Risposto: Jeff Miller il 28 Ott 2018
Can I draw the pdf of a distribution even if the pdf does not have a closed-form solution, using the characteristic function of the distribution and Fourier inversion?
I'm not sure this is the right place to ask, I'm just wondering whether Matlab can manage to do it, or having the pdf defined with an integral will mess up the graph

Risposta accettata

Jeff Miller
Jeff Miller il 28 Ott 2018
Yes, you should be able to do this. You can select a set of x's and then compute each one's pdf using the Fourier inversion. Then just:
plot(x,pdf)

Più risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by