Random Variables with nakaqami - m distribution.

How can i generate random variables having distribution Nakagami-m ? such that parameter 'm' is user defined.
Thank you.

Réponses (1)

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 commentaires

Well I do have 'Statistics Toolbox Versio 7.3' installed. but the function u told i.e. makedist() is not working. my MATLAB version is 2010a.
kindly help.
li junfang
li junfang le 25 Nov 2014
I have solved my question use this method. Thanks Wayne King . best wishes.
Shachi P
Shachi P le 24 Fév 2020
Thanks.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Commenté :

le 24 Fév 2020

Community Treasure Hunt

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

Start Hunting!

Translated by