Fsolve for multiple coupled-equation?

17 ビュー (過去 30 日間)
kusniar deny permana
kusniar deny permana 2016 年 1 月 8 日
編集済み: Torsten 2016 年 1 月 8 日
Hi, I have a loop from T=300 to T=1300, which one value T produce 1 coupled-equation. So I have 1000 coupled-equation at the end of the loop. I have different x0 for each coupled equation. How to solve each coupled-equation? For example:
A=[eq_1a,eq_1b; eq_2a,eq_2b....eq_na,eq_nb]
x0=[a,b,c,d.............]
Can I use fsolve in the loop? or I have to obtain A and x0 and can fsolve input as matrix? Thank you.

回答 (1 件)

Torsten
Torsten 2016 年 1 月 8 日
編集済み: Torsten 2016 年 1 月 8 日
If the 1000 equations are coupled, you will have to solve them all together.
Otherwise you can solve them one by one in the loop.
Best wishes
Torsten.
  2 件のコメント
kusniar deny permana
kusniar deny permana 2016 年 1 月 8 日
How to do that? Please give me example, I am totally beginner in Matlab
Torsten
Torsten 2016 年 1 月 8 日
編集済み: Torsten 2016 年 1 月 8 日
Do what ?
Solve one by one in a loop ?
Best wishes
Torsten.

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

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by