Distance between point and a line ?

4 ビュー (過去 30 日間)
Moustafa Aboubakr
Moustafa Aboubakr 2017 年 5 月 9 日
回答済み: ahmed 2017 年 8 月 20 日
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 件のコメント
Jan
Jan 2017 年 5 月 9 日
編集済み: Jan 2017 年 5 月 9 日
Please use helpful tags only. There is no relation to ODE45, therefore I've removed these tags.

サインインしてコメントする。

回答 (2 件)

Guillaume
Guillaume 2017 年 5 月 9 日
編集済み: Guillaume 2017 年 5 月 9 日
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 2017 年 8 月 20 日
this question have been answered by a mathwork staff heremathwork staff here

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by