Intersection of two vector lines

1 回表示 (過去 30 日間)
Tishan Anantharajah
Tishan Anantharajah 2023 年 4 月 27 日
コメント済み: Matt J 2023 年 4 月 27 日
How would I go about finding the intersection point of two vector lines in the form:
a = b*t + u
c = d*s + v
where a,b and s is a 3x1 matrix?

採用された回答

Matt J
Matt J 2023 年 4 月 27 日
編集済み: Matt J 2023 年 4 月 27 日
where a,b and s is a 3x1 matrix?
I assume you really mean that a,b,u,c,d,v are 3x1 and t,s are scalars.
ts=[b,-d]\( v-u );
intersection=b*ts(1)+u
  2 件のコメント
Tishan Anantharajah
Tishan Anantharajah 2023 年 4 月 27 日
Thank you so much this worked
Matt J
Matt J 2023 年 4 月 27 日
I'm glad, but please Accept-click the answer to indicate that (and likewise for previous answers you may not have accept-clicked).

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by