PDFPLOT

Version 1.0.0.0 (767 Bytes) by Alex Bar-Guy
PDFPLOT displays a histogram of the empirical probability density function (PDF) of the input data.
12.1K Downloads
Updated 29 Sep 2005

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
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Histograms in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0