One ode, two differential equations
古いコメントを表示
I have 2 differential equation that i want to solve in the same ode. I only have the initial value of the first equation and the answer of it will be the initial value of the second differential equation.
Is it possible and how ?
6 件のコメント
Star Strider
2020 年 1 月 31 日
With only the information you have provided thus far, it is not possible to provide any Answer.
Does the solution of the first differential equation at every time value always provide a value that the second differential equation requires?
Raed AL Hassanieh
2020 年 2 月 1 日
編集済み: Raed AL Hassanieh
2020 年 2 月 1 日
Ioannis Andreou
2020 年 2 月 1 日
I don't quite understand.
You have the differential equations

The solution for y1(t) (given any initial value) aswell as dy1/dt are functions of t. They cannot be initial values.
Raed AL Hassanieh
2020 年 2 月 1 日
Raed AL Hassanieh
2020 年 2 月 1 日
Raed AL Hassanieh
2020 年 2 月 1 日
回答 (1 件)
Ioannis Andreou
2020 年 2 月 1 日
0 投票
As far as I can tell from your code, the righthanded side of your differential equations is the same. Meaning you have the system

. Thus you can simply only solve y1, the solution of y2 is then y2(t) = y1(t-t1).
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!