フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

non-converging 4nonlinear equations with fsolve

1 回表示 (過去 30 日間)
Matin Torabinia
Matin Torabinia 2016 年 10 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Dear All Recently I'm involving to solve 4 nonlinear equations by using fsolve .
F(1)=T*((m(2)^2)/sqrt(m(4)*conj(m(4))))-(2*W*Y*A*sin(theta0));
F(2)=T*((m(1)^2)/sqrt(m(3)*conj(m(3))))-(W*Y*A)*(((E0*Er*(V-m(2))^2)/(2*t*Y))+sqrt(1-(((E0*Er*(V-m(2))^2)/(2*t*Y))+cos(theta0))^2)+sin(theta0));
F(3)=(m(1)/m(3))+((m(1)-m(2))/Z22)-((V-m(1))/Z3);
F(4)=(m(2)/m(4))+(m(2)/Z1)-((m(1)-m(2))/Z22);
As you can see , i'm just dealing with 4 unknown variables ( m(1),m(2),m(3),m(4) ) , and rest of the terms have constant defined numbers.
however , i have problem in converging . In other words by varying the initial guess my answers will change significantly . I will be grateful if you help me in this regard.
Thanks , Matin,
  1 件のコメント
Matt J
Matt J 2016 年 10 月 4 日
however , i have problem in converging . In other words by varying the initial guess my answers will change significantly .
That doesn't sound like a problem converging. That sounds like a problem initializing.
Be mindful, however, that you have non-differentiable expressions in your objective function: things like sqrt(m(4)*conj(m(4)))) which is the same as abs(m(4)). That could create mischief if the solution lies near the non-differentiability m(4)=0.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by