PDF Package

version (21.7 KB) by Brian Moore
A MATLAB package for generating and manipulating empirical PDFs and CDFs


Updated 3 Jun 2014

View License

This package contains a variety of functions supporting the generation and manipulation of empirical probability density functions (PDFs) and cumulative distribution functions (CDFs) of scalar random variables. MATLAB structs are used to represent the underlying PDFs and CDFs.

Included functionality:

(1) Density manipulation

Generation, sampling, resampling, conversion to/from PDF/CDF, evaluation, inverse evaluation (CDF only), plotting, functional transformation, standardization

(2) Distribution statistics

Mean, variance, functional expectation, entropy, differential entropy, Kullback–Leibler divergence, Kolmogorov–Smirnov distance

(3) Graphical support

PDF/CDF plotting, custom bin/resolution control

Cite As

Brian Moore (2022). PDF Package (https://www.mathworks.com/matlabcentral/fileexchange/46839-pdf-package), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!