Jensen-Shannon divergence

Calculates the Jensen-Shannon divergence between two probability distributions
3.4K Downloads
Updated 15 Jul 2008

No License

The .zip file contains two functions naming JSDiv.m and KLDiv.m

JSDiv.m uses KLDiv.m for calculation of the KL-divergence.

For more information on the divergence you can take a look at the following:

Cite As

Nima Razavi (2026). Jensen-Shannon divergence (https://www.mathworks.com/matlabcentral/fileexchange/20689-jensen-shannon-divergence), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

BUG_FIXED