nonlinear differential equation system

I m trying to solve a nonlinear differential equation could you please help me
x1'=x1+2x1*x2-x1x3 x2'=-3x1+x2+x1*x3 x3'=x2*x3-3*x3
this system has initial conditons

回答 (1 件)

Babak
Babak 2012 年 9 月 27 日

0 投票

If you are trying to solve it numerically with some numbers as initial conditions, you can use MATLAB's built in ODE solvers like ODE45,...
YOu only need to out your equations in the required format.

6 件のコメント

pooria par
pooria par 2012 年 9 月 27 日
thank you for your reply. Is it possible solve the equation without initial conditions?
Babak
Babak 2012 年 9 月 27 日
Differential equations ALWAYS have to come with initial conditions! You can either have numerical initial conditions like x1(0)=3, x2(0)=-4, x4(0)=2 or not. In the latter case, the differential equation has to be integrated symbolically for x1(0)=x10, x2(0)=x20, x4(0)=x40. In this case you are looking for an analytical solution to your differential equation.
pooria par
pooria par 2012 年 9 月 27 日
Thank you, I want to know, can the matlab solve a system analytically?
Star Strider
Star Strider 2012 年 9 月 27 日
Yes, but unfortunately not yours. I already tried to solve your system with the Symbolic Math Toolbox.
Cyrus Azizzadeh
Cyrus Azizzadeh 2022 年 1 月 5 日
can I solve systems like this in matlab?
dy(1) = 3*y(1) *t.^3 + y(2) + sin(dy(2)) + tan(dy(1)) ;
dy(2) = y(2) - y(1) + y(2).^4 + y(2).^4 + 3*t*dy(1) ;
Torsten
Torsten 2022 年 1 月 5 日

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

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2012 年 9 月 27 日

コメント済み:

2022 年 1 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by