Borrar filtros
Borrar filtros

makedist gives error when applied to Gamma distribution

11 visualizaciones (últimos 30 días)
Cristian Martinez
Cristian Martinez el 24 de Abr. de 2019
Comentada: Fabio el 7 de Feb. de 2023
Hello,
I get the following error using makedist('Gamma','a',number 1,'b',number 2)
"Error using makedist (line X)
Distribution name 'Gamma' is unrecognized."
Any idea what is going on? Thanks
  9 comentarios
Walter Roberson
Walter Roberson el 18 de Mzo. de 2021
msr1 = randn;
omg = rand;
pd = makedist('nakagami','mu',msr1,'omega',omg)
pd =
NakagamiDistribution Nakagami distribution mu = 0.508601 omega = 0.689648
Seems to work for me in R2021a. It needs the Statistics and Machine Learning Toolbox.
There appears to be another makedist() from Simulink Design Optimization Toolbox that does not support that distribution; https://www.mathworks.com/help/sldo/ref/makedist.html
Fabio
Fabio el 7 de Feb. de 2023
I had the same issue with R2022b. Installing the Statistics and Machine Learning Toolbox add-on solved it.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by