Wasserstein distance
Version 1.0.1 (2.97 KB) by
Niklas Kolbe
Code for the computation of the 1- and 2-Wasserstein distances in 1D
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 .
MATLAB Release Compatibility
Created with
R2017a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 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.
