find intersection of graph
조회 수: 1 (최근 30일)
이전 댓글 표시
I have this graph like this
plot ([0,1,1,0,0,1,0.5,0],[0,1,0,1,0,0,1.5,0],'-')
how can I find all intersections in this graph?
댓글 수: 0
채택된 답변
madhan ravi
2018년 12월 11일
댓글 수: 4
madhan ravi
2018년 12월 12일
편집: madhan ravi
2018년 12월 12일
x1=[0,1,1,0,0,1,0.5,0]
y1=[0,1,0,1,0,0,1.5,0]
P = InterX([x1;y1]); % P is the intersection of curves
plot(x1,y1,P(1,:),P(2,:),'ro')

추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!