power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
4 次查看(过去 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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrical Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!