This takes two matrices containing the (lat,lon) locations of two collections of points and returns the matrix of euclidean distances between them.
An n1 by 2 matrix of the locations of the first set of points
An n2 by 2 matrix of the locations of the second set of points
Returns an n1 by n2 matrix with the relevant Euclidean distances
Alex Lenkoski <[email protected]>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.