Cumulative Distribution Function of the Laplace Distribution
The present code is a Matlab function that provides a computation of the theoretical cumulative distribution function of the Laplace (double exponential) distribution for given mean mu and standard deviation sigma, evaluated at x points. The proposed function is similar to built-in Matlab function “cdf”.
An example is given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.
The code is based on the theory described in:
[1] N. Johnson, S. Kotz, N. Balakrishnan. Continuous Univariate Distributions Vol. 2. New York, John Wiley & Sons, 1995.
Citation pour cette source
Hristo Zhivomirov (2024). Cumulative Distribution Function of the Laplace Distribution (https://www.mathworks.com/matlabcentral/fileexchange/76757-cumulative-distribution-function-of-the-laplace-distribution), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : Generation of Random Numbers with Laplace Distribution
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 |