File Exchange

image thumbnail

Log Probability Density Function (PDF)

version (4.01 KB) by Mo Chen
numerically stable pdf of popular distributions in log scale.


Updated 13 Mar 2016

View License

Directly computing pdf of distributions often leads to numerical underflow, especially when dealing with high dimensional data. Therefore, the pdf functions provided by Matlab is not very useful for real world problems.
This pack provides numerical stable pdf of popular distributions in log scale, which can be used as building blocks for probabilistic modeling.

Currently this package is now a part of the PRML toolbox (

Comments and Ratings (0)


update title

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

Inspired by: Pattern Recognition and Machine Learning Toolbox

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor