[Matlab] - How to generate the hierarchical distribution

Dason

Ambassador to the humans
#2
Re: How to generate the hierarchical distribution in MATLAB?

Do you know how to generate random variables from the given distributions? IE if you know p can you generate a random deviate?