fsolve input

5 ビュー (過去 30 日間)
R yan
R yan 2011 年 7 月 22 日
The fsolve( ) takes function with parameters of the form x(1),x(2).. I have quite long equations involving unknowns x and y. How can I give my equations as input?
  1 件のコメント
Sean de Wolski
Sean de Wolski 2011 年 7 月 22 日
Could you show us your equations?

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2011 年 7 月 23 日
Instead of using an anonymous function, use a real function that starts out with
y = x(2);
x = x(1); %make sure this is last
and then use your existing equations.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by