Find nearest neighbors of a point

1 vue (au cours des 30 derniers jours)
Holmbrero
Holmbrero le 19 Nov 2020
Hi!
The green points in the figure are my reference points. I want to find the k nearest neighbors of red points to each green point.
I have the coordinates of all points.
Any suggestions?
Regards,
Anders Holmberg

Réponse acceptée

Srivardhan Gadila
Srivardhan Gadila le 23 Nov 2020
Refer to the documentation of knnsearch & Nearest Neighbors.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by