How to know which line is intersecting a curve mostly?

조회 수: 1 (최근 30일)
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak 2017년 5월 22일
댓글: KSSV 2017년 5월 23일
I have a set of curves & a set of lines.I want to know which line intersects the most with a curve?

답변 (1개)

KSSV
KSSV 2017년 5월 23일
Use this function from file exchange: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function to get the intersection points. Use this for all line and curves in a loop. If they intersect you will get a point, if not the output would be empty.
  댓글 수: 2
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak 2017년 5월 23일
Kindly check the image which I have uploaded.There are 5 curves & 3 lines in the graph.I have the matlab codes for all the curves & lines.
In the picture its clearly visible that the middle line is intersecting the most with the third curve.The intersection of other lines with other curves are just like 1 point or two point intersection.
But the second lines almost goes on the third curve.
I want to know the equation of that line & curve automatically from matlab computation.Kindly help.
KSSV
KSSV 2017년 5월 23일
This can be done in the way I said...

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by