How to calculate the number of data points within a circular boundary?

2 vues (au cours des 30 derniers jours)
Atiqah Zakirah
Atiqah Zakirah le 12 Mai 2017
Réponse apportée : KSSV le 12 Mai 2017
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!

Réponses (1)

KSSV
KSSV le 12 Mai 2017
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.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by