Random Variables with nakaqami - m distribution.
6 次查看(过去 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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!