当前位置: 动力学知识库 > 问答 > 编程问答 >

matlab - Random weibull from mean and variance

问题描述:

I need to sample random values from a Weibull distribution where I know the mean and the variance. I want to use Matlab, whose function wblrnd requires the shape and scale parameters. Now, I have seen from wikipedia that mean and variance are correlated to the shape and scale parameters, but between them there is a Gamma Function. Therefore, I was wondering: is there a way to go analytically from the mean and variance to shape and scale parameters? If not, how could I do that?

分享给朋友:
您可能感兴趣的文章:
随机阅读: