how to get horizontal coordinates a few mile from given coordinates?
Show older comments
hello! I'm trying to find the coordinates a few miles horizontally away from given coordinates.
It's like find (38, y) which is 5 nm right side of (38, 125).
I tried drawing 5nm radius circle from (38,125) with scircle1, but as the circle is comprised of
given points. It;s hard to get exact 38.
Is there any trick to find exact coordinates?
3 Comments
darova
on 26 Feb 2021
Please explain more. Do you have a picture?
hye wook Kim
on 27 Feb 2021
Accepted Answer
More Answers (1)
William Rose
on 27 Feb 2021
d=5 n.mi., R=earth radius=3440.1 n.mi,
=30
,
=124
,
=30
, δ=d/R.
So the code is
>> d=5; R=3440.1; lat0=30*pi/180; latc=30*pi/180; long0=124*pi/180;
>> longc=long0+sqrt((d/R)^2-(latc-lat0)^2)/cos(lat0);
>> longc=longc*180/pi; fprintf('%.7f\n',longc);
124.0961592
Which is the longitude on the 5 mile circle, at latc=30.00000 degrees.
1 Comment
hye wook Kim
on 1 Mar 2021
Categories
Find more on Geometric Geodesy 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!

