Random Variables with nakaqami - m distribution.
Show older comments
How can i generate random variables having distribution Nakagami-m ? such that parameter 'm' is user defined.
Thank you.
Answers (1)
Wayne King
on 29 Mar 2014
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 Comments
Furqan Haider
on 29 Mar 2014
li junfang
on 25 Nov 2014
I have solved my question use this method. Thanks Wayne King . best wishes.
Shachi P
on 24 Feb 2020
Thanks.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!