Intersection of two line segments

조회 수: 3 (최근 30일)
Himanshi Rani
Himanshi Rani 2017년 9월 14일
댓글: John D'Errico 2017년 10월 5일
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
  댓글 수: 1
John D'Errico
John D'Errico 2017년 10월 5일
Which does require the mapping toolbox.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by