Bhattacharyya Distance Measure for Pattern Recognition

Version 1.0.0.0 (1.69 KB) by Yi Cao
A Tool to calculate the Bhattacharyya Distance Measure for Pattern Recognition
9.6K Downloads
Updated 13 Mar 2008

View License

The m-file provides a tool to calculate the Bhattacharyya Distance Measure (BDM) between two classes of normal distributed data. The BDM is widely used in Pattern Recognition as a criterion for Feature Selection.

Directly calculation may result in divide by zero error due to possible (near) singularity of cov(X1)*cov(X2). The improved code uses the Cholesky factorization for the normal cases but uses sqrtm for near singular cases.

Cite As

Yi Cao (2026). Bhattacharyya Distance Measure for Pattern Recognition (https://www.mathworks.com/matlabcentral/fileexchange/18662-bhattacharyya-distance-measure-for-pattern-recognition), MATLAB Central File Exchange. Retrieved .

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

update descriptions.