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

129 ビュー (過去 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 件のコメント
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.

Community Treasure Hunt

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

Start Hunting!

Translated by