power law distribution, How could I generate random variables from the truncated power -law distribution and its PDf?
조회 수: 6 (최근 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!