Random Variables with nakaqami - m distribution.

16 views (last 30 days)
How can i generate random variables having distribution Nakagami-m ? such that parameter 'm' is user defined.
Thank you.

Answers (1)

Wayne King
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
li junfang
li junfang on 25 Nov 2014
I have solved my question use this method. Thanks Wayne King . best wishes.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!