Intersection of two vector lines
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tishan Anantharajah
am 27 Apr. 2023
Kommentiert: Matt J
am 27 Apr. 2023
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 Kommentare
Akzeptierte Antwort
Matt J
am 27 Apr. 2023
Bearbeitet: Matt J
am 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 Kommentare
Matt J
am 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).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!