find the index of Curve intersections
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all,
I am programing to find the indexes of the intersections of two lines. I use the code Curve intersection by NS to find the intersection value but am not able to find the indexes of the intersection value using the 'k = find(y==constant)'. I think the reason is that the intersections are not in the two lines, so it returens back to null.
Thank you in advance.
kind regards.
댓글 수: 0
답변 (2개)
KSSV
2019년 1월 10일
Use knnsearch. This will give you the exact point if exists...or the nearest point to the intersection.....
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!