Intersection of two line segments

I have two lines L1 :[x1 x2],[y1 y2] and L2: [x3 x4],[y3 y4]. I need to find their intersection. Is there any builtin matlab function to find the intersection?

 Respuesta aceptada

John D'Errico
John D'Errico el 14 de Sept. de 2017

0 votos

No, at least not for line segments. Lines are trivial.
But you can download intersections from the file exchange, written by Doug Schwarz.

Más respuestas (1)

imma notaro
imma notaro el 5 de Oct. de 2017

0 votos

try polyxpoly

Categorías

Más información sobre Elementary Math en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Sept. de 2017

Comentada:

el 5 de Oct. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by