makedist InverseGaussian not working

9 ビュー (過去 30 日間)
Cristian Martinez
Cristian Martinez 2018 年 3 月 16 日
コメント済み: Maureen 2023 年 4 月 27 日
Any of you also with this problem?
I'm trying to create an inverse Gaussian distribution -> pd1=makedist('InverseGaussian',mu,lambda);
But I get this message
Distribution name 'InverseGaussian' is unrecognized.
It used to work last week.
Any insight or things I'm doing wrong please let me know.
Thanks!
  1 件のコメント
Maureen
Maureen 2023 年 4 月 27 日
I am having the same problem except with 'Lognormal'. This worked fine last week on my computer, works now on my neighbor's computer, but now does not work on my computer. I have Matlab 2022a, the Statistics & Machine Learning toolbox is 12.3. These versions are the same on the working and non-working computers.
The solution from vijaya lakshmi does not work for me.
Another message board suggests to make sure the Statistics & Machine Learning toolbox are installed, which did not work for me because it is already installed.
If anyone has any other possible solutions, that would be great.

サインインしてコメントする。

採用された回答

vijaya lakshmi
vijaya lakshmi 2018 年 3 月 22 日
Hi Cristian,
The possible error might be due to 'Path Setting' MATLAB path setting may not be performed correctly in your environment. Execute the following command to try initializing the MATLAB path.
restoredefaultpath;
matlabrc
After executing the above command, if the correct operation can be confirmed, execute the following command and save the path.
savepath
Hope this solves your issue.
  2 件のコメント
Cristian Martinez
Cristian Martinez 2018 年 3 月 23 日
Awesome, thank you!
Halise Turkmen
Halise Turkmen 2022 年 5 月 1 日
Hi,
I'm having the same problem but with 'Lognormal'. I tried your solution but it did not work. Do you know what could be wrong?
Thanks.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by