Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
yashvin
yashvin 2015 年 6 月 25 日
閉鎖済み: Walter Roberson 2015 年 6 月 25 日
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?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by