applying iterative solutions with Fsolve in multiple variables equations.

1 回表示 (過去 30 日間)
Will john
Will john 2022 年 5 月 23 日
回答済み: Torsten 2022 年 5 月 23 日
hello; have variables in these equations. they are x z and k. And I am trying to solve it with iterative process but I can't find the result for 3 variables. can you help me. where am I doing wrong?

採用された回答

Torsten
Torsten 2022 年 5 月 23 日
f = @(x,y,k) [busdata(2,2)-...;
busdata(3,2)-...;
busdata(3,3)-...];
F = @(p)f(p(1),p(2),p(3));
p0 = [0;0;0];
options = optimoptions('fsolve','Display','iter');
[p,fval] = fsolve(F,p0,options)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics and Optimization についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by