Distance between point and a line ?

4 vues (au cours des 30 derniers jours)
Moustafa Aboubakr
Moustafa Aboubakr le 9 Mai 2017
Réponse apportée : ahmed le 20 Août 2017
How do I calculate the normal distance between a point and a line connecting two other defined points ? ex p = [0 0] and a line connecting
A = [1 -2]; B = [-1 -1];
  1 commentaire
Jan
Jan le 9 Mai 2017
Modifié(e) : Jan le 9 Mai 2017
Please use helpful tags only. There is no relation to ODE45, therefore I've removed these tags.

Connectez-vous pour commenter.

Réponses (2)

Guillaume
Guillaume le 9 Mai 2017
Modifié(e) : Guillaume le 9 Mai 2017
Have you tried your favorite search engine? The first link that comes up for me, Wikipedia, has the answer.
Note that this has nothing to do with matlab, it's just (very basic) maths.

ahmed
ahmed le 20 Août 2017
this question have been answered by a mathwork staff heremathwork staff here

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by