Intersection of two line segments

4 Ansichten (letzte 30 Tage)
Himanshi Rani
Himanshi Rani am 14 Sep. 2017
Kommentiert: John D'Errico am 5 Okt. 2017
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?

Akzeptierte Antwort

John D'Errico
John D'Errico am 14 Sep. 2017
No, at least not for line segments. Lines are trivial.
But you can download intersections from the file exchange, written by Doug Schwarz.

Weitere Antworten (1)

imma notaro
imma notaro am 5 Okt. 2017
try polyxpoly

Kategorien

Mehr zu Elementary Math 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!

Translated by