EMD (Earth Movers Distance) mex interface

emd_mex computes Earth Movers Distance between two signatures.

You are now following this Submission

This code is the mex interface for computing Earth Movers Distance between signatures and is based on the Y. Rubner's C Implementation.
(http://ai.stanford.edu/~rubner/emd/default.htm)

For building the mex file you should have setup your mex build environment. Invoke "build_emd" for building and "demo_emd" for a small test.

Cite As

Masoud Alipour (2026). EMD (Earth Movers Distance) mex interface (https://se.mathworks.com/matlabcentral/fileexchange/12936-emd-earth-movers-distance-mex-interface), 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 fix