Intersection of two vector lines
3 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Matt J
on 27 Apr 2023
Edited: Matt J
on 27 Apr 2023
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 Comments
Matt J
on 27 Apr 2023
I'm glad, but please Accept-click the answer to indicate that (and likewise for previous answers you may not have accept-clicked).
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!