Intersection of two line segments

3 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(1 个)

imma notaro
imma notaro 2017-10-5
try polyxpoly

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by