Minkowski Distance
Calculator to calculate the Minkowski distance
This function calculates the Minkowski distance. The Minkowski distance is a distance measurement between two points in normalized vector space (N-dimensional real space) and is a generalization of Euclidean distance and Manhattan distance.
Typically 1 or 2 is used as order number P, which corresponds to Manhattan distance or Euclidean distance. In the limit when P becomes infinity we get the Chebyshev distance.
To calculate, enter a series of x /y pairs (vectors). The individual numbers are separated by semicolons or spaces. Then click on the 'Calculate' button.
|
Formula for the Minkowski distance
\(\displaystyle d_{\mathbf{p}} : (x, y) \mapsto \|x-y\|_p = \bigg(\sum_{i=1}^{n} |x_i-y_i|^p\bigg)^\frac{1}{p}\)
|