You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
Acknowledgements
Inspired: Probability Density Function (PDF) Estimator (V3.2)
General Information
- Version 1.0.0.0 (767 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
