How to find the intersection points of two curves?

조회 수: 3 (최근 30일)
ANIL CHIVUKULA
ANIL CHIVUKULA 2017년 3월 31일
답변: Anamika 2023년 7월 7일
I am interested to find the intersection points of two curves using Matlab commands.
  댓글 수: 2
John D'Errico
John D'Errico 2017년 3월 31일
편집: John D'Errico 2017년 3월 31일
Too vague. This question gets asked all the time here. But you need to say more.
Two functions, of a single variable x? Two curves, represented only as points? Two PICTURES of curves? Single valued relations, or nasty implicit functions?
The point is, BE CLEAR, at least if you want an answer that does not force you to explain what you really needed anyway. Then we need to make repeat tries at an answer.
Rik
Rik 2017년 3월 31일
Have a read here and here. It will greatly improve your chances of getting an answer.

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

답변 (1개)

Anamika
Anamika 2023년 7월 7일
To find the intersection points of two curves using MATLAB, you can follow these steps:
a)first define the equations representing the two curves.
b)create a range of values for the independent variable(x) over which you want to find the intersection points.
c)Evaluate the two curves at each point using the defined equations in the range you have created.
d)Then find the indices where the values of the two curves have opposite signs. These indices indicate the approximate locations of the intersection points
e)you can use interpolation numerical method to analyze the intersection points for higher accuracy
Hope it will help you
~Thanks

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by