How to find the third coordinate using MATLAB Mapping Toolbox?

조회 수: 1(최근 30일)
Ali Soban 2018년 1월 16일
답변: Amy Haskins 2018년 1월 19일
Hi everyone! I am using google apis for mapping a certain point on google earth. For example mapping a certain point on google earth given its coordinates from MATLAB using the following code:
lat_1 = 44.05897222222222 ; % example latitude
long_1 = 91.97936833333333 ; % example longitude
url = sprintf('http://maps.googleapis.com/maps/api/geocode/xml?latlng=%.4f,%.4f&sensor=true', lat_1, long_1) ;
for k = 1 : formattedAddressNodes.getLength()
fprintf('%s\n', ...
end
filename = 'point.kml' ;
kmlwritepoint(filename,lat_1,long_1);
winopen(filename)
Now if I know 02 different coordinates and their in between distance and angles from a particular point source respectively , how can I calculate the third coordinate on google maps? Can I achieve this by applying simple geometry?

댓글을 달려면 로그인하십시오.

답변(1개)

Try the reckon function:
https://www.mathworks.com/help/map/ref/reckon.html

댓글을 달려면 로그인하십시오.

범주

Find more on Coordinate Reference Systems in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by