Finding closest coordinates and rearranging order to match

1 回表示 (過去 30 日間)
Connor
Connor 2019 年 11 月 8 日
回答済み: KSSV 2019 年 11 月 8 日
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.

回答 (1 件)

KSSV
KSSV 2019 年 11 月 8 日
Read about knnsearch. This is your function for today.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by