Jensen-Shannon divergence

Calculates the Jensen-Shannon divergence between two probability distributions
3.3K 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 (2024). 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

Community Treasure Hunt

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

Start Hunting!

home/nrazavi/Desktop/

Version Published Release Notes
1.0.0.0

BUG_FIXED