Triangular pdf
The files in this folder contains small routines for MATLAB to compute and plot triangular probability denstity function. There are following 4 files:
tglpdf : Compute and plot triangular probability density function for given value of X (X can be scalar or matrix)
tglcdf : Compute and plot triangular cumulative distribution function for given value of X (X can be scalar or matrix)
invtglpdf: Compute the value of X from given value of probability density. This is inverse of tglpdf.
invtglcdf: Compute the value of X from given value of cumulative distribution. This is inverse of tglcdf.
Citation pour cette source
Durga Lal Shrestha (2024). Triangular pdf (https://www.mathworks.com/matlabcentral/fileexchange/5635-triangular-pdf), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Exploration and Visualization >
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.0.0 | pdf is integrated analytically to compute cdf and this gives faster solution than the quad function of Matlab as used in previous version. Also for invtglcdf, direct solution is obtained, but in previous version it required iterations. |