Ploting a function and its roots
Mostrar comentarios más antiguos
f=@(x)x.^2-5*sin(x);
[p1,p2]=fzero(f,1,[-1,3])
fplot(f1,[-1,3])
Can I "draw" the roots p1,p2 in the same function fplot?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Direct Search 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!