How to solve this implicit equation in matlab?
조회 수: 15 (최근 30일)
이전 댓글 표시
ln [(0.77x-0.77)/(x-0.77)] - (0.23x)/(1-x)-0.0729=0
댓글 수: 0
답변 (1개)
Alan Stevens
2021년 10월 22일
Good idea to plot a graph first, to see roughly where the root lies. Then use fzero. For example::
fn = @(x)log((0.77*x-0.77)./(x-0.77)) - (0.23*x)./(1-x)-0.0729;
x0 = 0.1;
x = fzero(fn,x0);
disp(x)
disp(fn(x))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!