makedist gives error when applied to Gamma distribution
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2021-3-18
msr1 = randn;
omg = rand;
pd = makedist('nakagami','mu',msr1,'omega',omg)
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
2023-2-7
I had the same issue with R2022b. Installing the Statistics and Machine Learning Toolbox add-on solved it.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!