PDFPLOT
No License
PDFPLOT displays a histogram of the empirical probability density function (PDF) for the data in the input array X using nbins number of bins.
If input X is a matrix, then pdfplot(X) parses it to the vector and displays PDF of all values.
For complex input X, pdfplot(X) displays PDF of abs(X).
Example:
y = randn( 1, 1e5 );
pdfplot( y );
pdfplot( y, 100 );
Cite As
Alex Bar-Guy (2024). PDFPLOT (https://www.mathworks.com/matlabcentral/fileexchange/8578-pdfplot), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Probability Density Function (PDF) Estimator (V3.2)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |