how do i find the intersections between two functions ?
Mostrar comentarios más antiguos
i try to find how is the code for intersections between two functions ( with ''if'') plz ..i need help!
4 comentarios
the cyclist
el 6 de Dic. de 2016
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_
el 6 de Dic. de 2016
Editada: Walter Roberson
el 7 de Dic. de 2016
Walter Roberson
el 7 de Dic. de 2016
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_
el 7 de Dic. de 2016
Respuestas (1)
Walter Roberson
el 6 de Dic. de 2016
0 votos
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 comentario
Walter Roberson
el 7 de Dic. de 2016
http://www.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections looks like a possibility for your purposes.
Categorías
Más información sobre Numeric Solvers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!