power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
amberly hadden
le 6 Oct 2014
Commenté : Image Analyst
le 9 Oct 2014
How could I generate random variables from the truncated power -law distribution and its PDf?
0 commentaires
Réponse acceptée
Image Analyst
le 6 Oct 2014
You need to use inverse transform sampling. I attached a demo where I use it to get random numbers from a Rayleigh distribution.
11 commentaires
Image Analyst
le 9 Oct 2014
You're welcome. Since I solved your problem, could you go ahead and mark the Answer as "Accepted" so I get credit for it? Thanks in advance.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!