Code for the computation of the 1- and 2-Wasserstein distances in 1D
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
- Version 1.0.1 (2.97 KB)
-
View License on GitHub
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.
