Borrar filtros
Borrar filtros

Random Variables with nakaqami - m distribution.

11 visualizaciones (últimos 30 días)
Furqan Haider
Furqan Haider el 29 de Mzo. de 2014
Comentada: Shachi P el 24 de Feb. de 2020
How can i generate random variables having distribution Nakagami-m ? such that parameter 'm' is user defined.
Thank you.

Respuestas (1)

Wayne King
Wayne King el 29 de Mzo. de 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 comentarios
li junfang
li junfang el 25 de Nov. de 2014
I have solved my question use this method. Thanks Wayne King . best wishes.
Shachi P
Shachi P el 24 de Feb. de 2020
Thanks.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by