PDFPLOT

PDFPLOT displays a histogram of the empirical probability density function (PDF) of the input data.

You are now following this Submission

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 (2026). PDFPLOT (https://se.mathworks.com/matlabcentral/fileexchange/8578-pdfplot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0