Distance within radius from a point (Lat,lon)

조회 수: 7 (최근 30일)
Ivan Mich
Ivan Mich 2020년 12월 19일
댓글: Image Analyst 2021년 1월 1일
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?

답변 (1개)

Image Analyst
Image Analyst 2020년 12월 19일
sqrt()
  댓글 수: 7
Ivan Mich
Ivan Mich 2021년 1월 1일
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 2021년 1월 1일
Yes, you need to convert. I don't have the deg2km() function so you'll just have to read the help on it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Computational Geometry에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by