Generate Random Variables from PDF
Version 1.0.1 (1,17 ko) par
Ayad Al-Rumaithi
Generate random variables from probability density function (pdf) using inverse transform technique
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 LinuxCatégories
En savoir plus sur Random Number Generation dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | description |
||
1.0.0 |