Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to find minimal distance [Beginner]

2 vues (au cours des 30 derniers jours)
Alex castilla
Alex castilla le 18 Mar 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello everybody,
I have a small question;
I have two matrices: A(2099x2) and B(9x2).
Matrix A = trajectory (x,y)
Matrix B = position of 9 targets ( X,Y)
I would like to know how to calculate the distance (red arrows) of the nearest-neighbor of a point between the trajectory (blue line) and the targets( red squares). Thanks in advance

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by