Jensen-Shannon divergence

Calculates the Jensen-Shannon divergence between two probability distributions

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

BUG_FIXED