- 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
7 次查看(过去 30 天)
显示 更早的评论
i have the follow pdf : f(B,S); how can i generate random values for B and S that follow this distribution?? can someone help me??
0 个评论
回答(2 个)
Sky Sartorius
2017-10-3
Conceptually, you can generate random numbers for any arbitrary distributions by
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!