Find nearest neighbors of a point

1 visualización (últimos 30 días)
Holmbrero
Holmbrero el 19 de Nov. de 2020
Respondida: Srivardhan Gadila el 23 de Nov. de 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

Respuesta aceptada

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

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by