Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Dfiference between euclidean and distance function using MAPPING toolbox for latitude and longitude calulation??

1 vue (au cours des 30 derniers jours)
yashvin
yashvin le 25 Juin 2015
Clôturé : Walter Roberson le 25 Juin 2015
Can you please a give a simply example where the use of euclidean distance and the use of distance from map leads to a different result?
Please find below my code where A and B, contains [lat,long] in degrees
A=[-0.8147,0.9058]
B=[-0.9575,0.7922]
distances_euclidean = sqrt(sum(bsxfun(@minus, B, A).^2,2));
distance_map=distance(A,B)
Both leads to same value? so please give an example for different lat and long where euclidean and distance from MAP leads to different outcome?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by