What algorithm does random(makedist) use

1 view (last 30 days)
Abhinav
Abhinav on 9 Aug 2017
Edited: Abhinav on 9 Aug 2017
I have a pdf similar to the generalized normal distribution function, but it has an additional complication so that it includes the family of skewed distributions also. I can easily sample from the generalized normal distribution using an appropriate transformation. I don't know how to convert the samples from the generalized normal distribution to the required distribution using simple transformations. I want to avoid using the algorithms such as Accept-Reject or Metropolis-Hasting. I see that MatLab function 'makedist' with 'random' samples from custom distributions. I need to know which algorithm does it use to do so?

Answers (0)

Community Treasure Hunt

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

Start Hunting!