How to know which line is intersecting a curve mostly?

1 visualización (últimos 30 días)
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak el 22 de Mayo de 2017
Comentada: KSSV el 23 de Mayo de 2017
I have a set of curves & a set of lines.I want to know which line intersects the most with a curve?

Respuestas (1)

KSSV
KSSV el 23 de Mayo de 2017
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 comentarios
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak el 23 de Mayo de 2017
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 el 23 de Mayo de 2017
This can be done in the way I said...

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by