power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
amberly hadden
am 6 Okt. 2014
Kommentiert: Image Analyst
am 9 Okt. 2014
How could I generate random variables from the truncated power -law distribution and its PDf?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 6 Okt. 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 Kommentare
Image Analyst
am 9 Okt. 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.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!