필터 지우기
필터 지우기

flag if plot Intersects itself

조회 수: 2 (최근 30일)
Ahmed
Ahmed 2022년 8월 29일
답변: Bruno Luong 2022년 8월 29일
I have an array of size n by 2 where column one has the x coordinates whilst column 2 has the y coordinates. I plan to plot these coordinates but I wanted to know if there is an easy way to know if this plot is going to intersect itself across the range of points n without manually plotting and observing the resuly.
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 8월 29일
No, there are ways but no easy ways.
Plotting is not robust enough to determine this, as the distance between lines might be less than the width of a pixel.

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

채택된 답변

Bruno Luong
Bruno Luong 2022년 8월 29일

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by