Borrar filtros
Borrar filtros

Intersection of two vector lines

1 visualización (últimos 30 días)
Tishan Anantharajah
Tishan Anantharajah el 27 de Abr. de 2023
Comentada: Matt J el 27 de Abr. de 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?

Respuesta aceptada

Matt J
Matt J el 27 de Abr. de 2023
Editada: Matt J el 27 de Abr. de 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 comentarios
Tishan Anantharajah
Tishan Anantharajah el 27 de Abr. de 2023
Thank you so much this worked
Matt J
Matt J el 27 de Abr. de 2023
I'm glad, but please Accept-click the answer to indicate that (and likewise for previous answers you may not have accept-clicked).

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by