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!