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 CenterFile Exchange에서 2-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