Ploting a function and its roots
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Direct Search in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!