line_distance, an Octave code which considers the problem of describing the typical value of the distance between a pair of points randomly selected in the unit line segment in 1D.
The computer code and data files made available on this web page are distributed under the MIT license
line_distance is available in a MATLAB version and an Octave version and a Python version.
levenshtein_distance, a MATLAB code which returns the Levenshtein distance between two strings.