Find nearest neighbors of a point

조회 수: 6 (최근 30일)
Holmbrero
Holmbrero 2020년 11월 19일
답변: Srivardhan Gadila 2020년 11월 23일
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

채택된 답변

Srivardhan Gadila
Srivardhan Gadila 2020년 11월 23일
Refer to the documentation of knnsearch & Nearest Neighbors.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by