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 CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by