Graph Method Root Finding
Afficher commentaires plus anciens
'X - 2^(-X) = 0'
how can I find the roots of this equation by using graphic method? fplot()
1 commentaire
darova
le 9 Avr 2020
What about plot?
Réponses (1)
James Tursa
le 18 Déc 2020
Modifié(e) : James Tursa
le 18 Déc 2020
E.g.,
x = -1:0.01:1; % pick some x range to look for a root
plot(x,x-2.^(-x)) % plot the equation
grid on
or
fplot(@(x)x-2.^(-x));
grid on
Then zoom in on the 0 crossing.
Catégories
En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!