Graph Method Root Finding

8 次查看(过去 30 天)
Fatih Ay
Fatih Ay 2020-4-9
编辑: James Tursa 2020-12-18
'X - 2^(-X) = 0'
how can I find the roots of this equation by using graphic method? fplot()

回答(1 个)

James Tursa
James Tursa 2020-12-18
编辑:James Tursa 2020-12-18
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.

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by