You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function provides an estimate of probability density function for a given random data (an 1-d vector). The estimation can be done with a specified number of intervals, and bandwidth. Without any output, the function will plot the probability density function. A few examples are included to show how to use the function and its output.
It also includes bounded support. For some problems, bounded support is important. For example, many physical problems require positive variables. This function is able to estimate PDF for such problems as well if the lower and upper bounds are specified.
The new version includes cdf and inverse cdf estimation.
Cite As
Yi Cao (2026). Probability Density Function (PDF) Estimator (V3.2) (https://au.mathworks.com/matlabcentral/fileexchange/19121-probability-density-function-pdf-estimator-v3-2), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: PDFPLOT
Inspired: Update PDF Estimation, Bivariant Kernel Density Estimation (V2.1)
General Information
- Version 1.4.0.0 (61.1 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
