Need to find x intercepts Using Matlab
Ältere Kommentare anzeigen
Hi,
I have the following function and I am supposed to find the # of x intersects within the domain of [-20, 5].
3*x^2-1 = exp(-0.5*x)
I have the following commands typed into my script.
func = inline('3*x^2-1-exp(-0.5*x)')
fzero(func,[-20,5])
I am getting only 1 value showing me the x intercept but i am sure there are more than 1 intercepts.
How can i find all the x Intercepts.
PLEASE HELP...!!
1 Kommentar
Soliver Fusi
am 16 Okt. 2015
Bearbeitet: Soliver Fusi
am 16 Okt. 2015
fsolve: fzero I think only works for one point
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!