Random Variables with nakaqami - m distribution.
조회 수: 11 (최근 30일)
이전 댓글 표시
How can i generate random variables having distribution Nakagami-m ? such that parameter 'm' is user defined.
Thank you.
댓글 수: 0
답변 (1개)
Wayne King
2014년 3월 29일
Do you have the Statistics Toolbox? If so
pd = makedist('Nakagami','mu',5,'omega',2);
R = random(pd,1000,1);
Change the mu parameter as you wish
댓글 수: 3
li junfang
2014년 11월 25일
I have solved my question use this method. Thanks Wayne King . best wishes.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!