MATLAB Answers

Finding closest coordinates and rearranging order to match

1 view (last 30 days)
Connor
Connor on 8 Nov 2019
Answered: KSSV on 8 Nov 2019
Hello,
I have data from stars that are arranged in terms of magnitude for each exposure time, each star has an associated x and y coordinate.
I want to search each coordinate with the initial exposure to find the closest matching coordinates and rearrange the other exposures to match as the stars are currently arranged by magnitude.
Attached is an excel file with the data.

  0 Comments

Sign in to comment.

Answers (1)

KSSV
KSSV on 8 Nov 2019
Read about knnsearch. This is your function for today.

  0 Comments

Sign in to comment.


Translated by