10 nearest neighbors between points

조회 수: 2 (최근 30일)
Steve
Steve 2019년 9월 30일
댓글: Catalytic 2019년 9월 30일
Hi People,
I could really some help asap. I need to figure out how to modify the code proposed by MattJ (from a previous question) in order to find the 10 nearest points to every other point within a group of points (i.e., 10 nearest neighrbors). The points I speak of are the Fermat center points to the Triplets were found in the previous task. I have found all these "center points" and have their coordinates in the attached file (F_points.mat). Any help you could offer would be greatly appreciated.
Best
Steve
  댓글 수: 3
Steve
Steve 2019년 9월 30일
Sorry about that. Here you go.
Steve
Steve 2019년 9월 30일
편집: Steve 2019년 9월 30일
I would also like to plot the 10 closest points for each point with lines connecting them if possible. Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2019년 9월 30일
  댓글 수: 4
Steve
Steve 2019년 9월 30일
I tried it and can't get it to do what I need.
Catalytic
Catalytic 2019년 9월 30일
We can't see what you tried, and so can't know what to advise further.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by