Generate Random Variables from PDF

Generate random variables from probability density function (pdf) using inverse transform technique
160 téléchargements
Mise à jour 8 juin 2019

Afficher la licence

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

Citation pour cette source

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. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.1

description

1.0.0