How to identify exact coordinates of a circle on geoshow?
2 次查看(过去 30 天)
显示 更早的评论
Hello guys,
I'm really new to MATLAB, started just a week ago and I am having trouble with geoshow map. What I have - a point(NOLNA in the picture) with exact coordinates x,y that I know and so I used plotm function to display it on a map. This worked. Now next step I need to draw a few points exactly 20nm (37,04km) from that point. How do I do that? I drew a circle (with circlem function) with 20nm radius with a center being my point. Now on a map I can see where those points I'm looking for should be, maybe it's somehow possible to determine exact x,y points of that circle? Or maybe there's a better way to plot a line with exact length and only one coordinate?
Hope I explained this well, I'll try to add a few pictures.
Thank you for your help.
0 个评论
回答(1 个)
Pavan Guntha
2021-3-30
Hi Eitvydas,
A possible workaround is to use scxsc function to calculate the intersection of 2 circles of interest whose centers are the points NOLNA and VNO respectively. It returns the latitude and longitude values of the intersection points.
If you are interested in calculating the cartesian coordinates of those intersection points, you can refer to the documentation of latlon2local function for more details.
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Map Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!