How to identify exact coordinates of a circle on geoshow?

5 ビュー (過去 30 日間)
Eitvydas Karauskas
Eitvydas Karauskas 2021 年 3 月 24 日
回答済み: Pavan Guntha 2021 年 3 月 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.

回答 (1 件)

Pavan Guntha
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!

カテゴリ

Help Center および File ExchangeMap Display についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by