The Minkowski Distance between two points is defined as:
where
-
n is the number of dimensions, 2 for 2D and 3 for 3D and so forth.
-
p is the order (1 for Manhattan distance and 2 for Euclidean distance)
Reference: Wikipedia Page
The Minkowski Distance between two points is defined as:
where
n is the number of dimensions, 2 for 2D and 3 for 3D and so forth.
p is the order (1 for Manhattan distance and 2 for Euclidean distance)
Reference: Wikipedia Page