How to calculate the number of data points within a circular boundary?
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to calculate the number of points within a circle of radius 10 km. The data would be the latitude and longitude coordinates of my location point. And after doing so, how do I store the new data in a matrix? I have no idea how to approach this so any help would be deeply appreciated. Thanks!
댓글 수: 0
답변 (1개)
KSSV
2017년 5월 12일
Read about knnsearch. With this given a point and a set of points, you can pick the points hwich are lying at a certain distance.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 3-D Scene Control에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!