power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
5 ビュー (過去 30 日間)
古いコメントを表示
How could I generate random variables from the truncated power -law distribution and its PDf?
0 件のコメント
採用された回答
Image Analyst
2014 年 10 月 6 日
You need to use inverse transform sampling. I attached a demo where I use it to get random numbers from a Rayleigh distribution.
11 件のコメント
Image Analyst
2014 年 10 月 9 日
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.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!