how do i find the intersections between two functions ?
이전 댓글 표시
i try to find how is the code for intersections between two functions ( with ''if'') plz ..i need help!
댓글 수: 4
the cyclist
2016년 12월 6일
This is not twitter. Please feel free to use more than 140 characters to give a more complete explanation of your problem. You have not given us close to enough information to help you.
maria_maths_
2016년 12월 6일
편집: Walter Roberson
2016년 12월 7일
Walter Roberson
2016년 12월 7일
Which of the 6 intersection points did you want?? I have put arrows and numbered them so that we can be sure that we are talking about the same intersections.
If you do not want all of these, then how are you selecting which ones you want?
Do you need them in a particular order?

maria_maths_
2016년 12월 7일
답변 (1개)
Walter Roberson
2016년 12월 6일
0 개 추천
It has been proven that there cannot be any finite algorithm which can give you all of the intersections of two infinite functions (that does not mean that the functions have to be defined at infinity: it also covers continuous functions on a line segment, and covers functions of infinite subsets of the integers.)
For example let one of the functions be the Riemann Zeta function, and let the other function be the constant 0. If there were a finite algorithm that could find the intersections of any two infinite functions then you could apply that finite algorithm to find all the places where the Riemann Zeta function is 0. There is no known way to find all of the zeros of the Riemann Zeta function; any algorithm for doing so would give an answer to the Riemann Conjecture.
댓글 수: 1
Walter Roberson
2016년 12월 7일
http://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections looks like a possibility for your purposes.
카테고리
도움말 센터 및 File Exchange에서 Numeric Solvers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!