How to implement this random distribution operation with matlab(beta disturbution)

Answers (1)

You can calculate the parameters of the beta distribution from the mean and variance. The formula for doing this is on the Wikipedia page for the beta distribution. There is also a good description of the process here.
Once you have that, you can use the betarnd function.

Asked:

on 18 Apr 2022

Commented:

on 19 Apr 2022

Community Treasure Hunt

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

Start Hunting!