Intersection of two vector lines
1 回表示 (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
採用された回答
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 件のコメント
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 Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!