I need to calculate lat and long for other point. Given one lat long and bearing.

조회 수: 44 (최근 30일)
Manoj Pai
Manoj Pai 2017년 5월 23일
댓글: Ted Shultz 2020년 4월 8일
How to apply Vincenty's formulae in Matlab. http://www.geomidpoint.com/destination/
  댓글 수: 1
Manoj Pai
Manoj Pai 2017년 5월 23일
Consider one point is 12.9435584 77.5620174 with bearing 0 deg and distance 100 m I need to calculate the other lat and long.

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

답변 (2개)

Ted Shultz
Ted Shultz 2018년 10월 11일
편집: Ted Shultz 2018년 10월 11일
The Matlab function reckon is what you are looking for. For plotting the track, use track1.
Here is an example for the values you gave:
latIn=12.9435584;
lonIn=77.5620174;
dist = 100; %meters
distUnits = 'm';
% Convert input distance to earth degrees (Lat, Lon are typicaly given in degrees)
arclen = rad2deg(dist/earthRadius(distUnits));
[latOut,lonOut] = reckon(latIn, lonIn,arclen,az)
results in:
latOut =
12.944457721605922
lonOut =
77.562017400000002
  댓글 수: 2
Tareq Rahmani
Tareq Rahmani 2020년 4월 8일
Hi Ted ,
If I have a point X1(lat1,lon1) and X2(lat2,lon2)
and I have point Y with d1 distance ( in m) from X1 and d2 from X2.
How can i get the lat and lon of point Y ?
thanks very much
Ted Shultz
Ted Shultz 2020년 4월 8일
This is a new question. Starting a new question will get you the best answer, and will be the most useful to other people in the future searching for the same information.

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


10B
10B 2017년 5월 26일
Hello,
I think you need this: https://uk.mathworks.com/matlabcentral/fileexchange/5379-geodetic-distance-on-wgs84-earth-ellipsoid
HTH
10B.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by