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