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.

Antworten (1)

Wayne King
Wayne King am 29 Mär. 2014

1 Stimme

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 Kommentare

Furqan Haider
Furqan Haider am 29 Mär. 2014
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 am 25 Nov. 2014
I have solved my question use this method. Thanks Wayne King . best wishes.
Shachi P
Shachi P am 24 Feb. 2020
Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 29 Mär. 2014

Kommentiert:

am 24 Feb. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by