Getting a solution for two coupled nonlinear differential equations
古いコメントを表示
Hello dears. I am looking for the solutions for y(t) and z(t) in two coupled differential equations simultaneously. I need solutions for each of y and z as the equations (for example y=C1 exp (A/B)t or z=C1 exp (B//A)t) not as numbers if it is possible.
At least, an Approximate Analytical Solution is desired, which may be achievable with the generation of sufficient dot points and the Curve-Fitting Toolbox.
- ODE of the nonlinear system,
- constant values of A and B,
- initial values of y0 and z0.

Both y(t) and z(t) are functions of t. Here, A and B are constant values. We want to get a solution for each of the dependent variables of y(t) and z(t). If it is needed the initial values of y0=y(0) and z0=z(0) can be used to achieve the solution.
採用された回答
その他の回答 (1 件)
sardar peysin
2022 年 4 月 12 日
0 投票
4 件のコメント
Sam Chak
2022 年 4 月 12 日
I have edited my Answer to include the approximate analytical solutions for both y(t) and z(t).
You may need to try other Rational function models until you find the one that fits.
Hope the explanations are helpful.
sardar peysin
2022 年 4 月 12 日
Sam Chak
2022 年 4 月 12 日
I also learn from examples.
To give an example why another Rational model should be chosen, let say we select
A = -1;
B = 1;
then the previous proposed Rational model (Rat23) does not fit well for y(t).

So, by trial-and-error, it is found that Rat22 model fits well for both y(t) and z(t) in this case.
f1 = fit(T, y, 'rat22') % fit Rat22 model into y(t) data
f2 = fit(T, z, 'rat22') % fit Rat22 model into z(t) data

sardar peysin
2022 年 4 月 12 日
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


