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
darova
darova 2020년 4월 9일
What about plot?

댓글을 달려면 로그인하십시오.

답변 (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