Distance within radius from a point (Lat,lon)

8 Ansichten (letzte 30 Tage)
Ivan Mich
Ivan Mich am 19 Dez. 2020
Kommentiert: Image Analyst am 1 Jan. 2021
I have a question.
I have a point with a specific latitude anfd longtitude. From this point I would like to find different points within the radius of 20 km.
Which command should I use?

Antworten (1)

Image Analyst
Image Analyst am 19 Dez. 2020
sqrt()
  7 Kommentare
Ivan Mich
Ivan Mich am 1 Jan. 2021
Thank you. But I have one last question. I should convert degrees to km right?
I used to use the following function:
DISTANCE=(deg2km(distance(lat1,lon1,lat,lon)));
How could I input the above function in your solution?
Image Analyst
Image Analyst am 1 Jan. 2021
Yes, you need to convert. I don't have the deg2km() function so you'll just have to read the help on it.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by