Generate Random Variables from PDF

版本 1.0.2 (1.2 KB) 作者: Ayad Al-Rumaithi
Generate random variables from probability density function (pdf) using inverse transform technique
163.0 次下载
更新时间 2024/9/16

查看许可证

Generate random variables from probability density function (pdf) using inverse transform technique .
function x=PDF2Rand(xPDF,yPDF,N)
Input
xPDF:x values of probability density function
yPDF:y values of probability density function
N:Number of samples of the random varible
output
x:Generated random variable

引用格式

Ayad Al-Rumaithi (2024). Generate Random Variables from PDF (https://www.mathworks.com/matlabcentral/fileexchange/71789-generate-random-variables-from-pdf), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

Added website

1.0.1

description

1.0.0