Wasserstein distance

Code for the computation of the 1- and 2-Wasserstein distances in 1D

https://github.com/nklb/wasserstein-distance

You are now following this Submission

This code computes the 1- and 2-Wasserstein distances between two uniform probability distributions given through samples. Graphically speaking it measures the distance between the (normalized) histograms of the input vectors. See the GitHub repository for more details.

Cite As

Niklas Kolbe (2026). Wasserstein distance (https://github.com/nklb/wasserstein-distance), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.1

description edited

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.