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!