- Converting the pdf to a cdf.
- Generating uniform random numbers (from 0 to 1) using rand
- Mapping the uniform random numbers to the cdf.
Generate Random numbers from a 2 D probability density function
11 views (last 30 days)
Sky Sartorius on 3 Oct 2017
Conceptually, you can generate random numbers for any arbitrary distributions by
There are many functions available on the file exchange that will do this for you.