One ode, two differential equations

1 回表示 (過去 30 日間)
Raed AL Hassanieh
Raed AL Hassanieh 2020 年 1 月 31 日
コメント済み: Raed AL Hassanieh 2020 年 2 月 1 日
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 件のコメント
Raed AL Hassanieh
Raed AL Hassanieh 2020 年 2 月 1 日
This is an image about the system that I am tring to make
Raed AL Hassanieh
Raed AL Hassanieh 2020 年 2 月 1 日
In addition I need to take the last value of y1 and not all the array as initial value.

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

回答 (1 件)

Ioannis Andreou
Ioannis Andreou 2020 年 2 月 1 日
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).
  1 件のコメント
Raed AL Hassanieh
Raed AL Hassanieh 2020 年 2 月 1 日
In the system i'm working on, I entered a Gaussian pulse to a medium that amplifies it from the other side. In this process there will be factors that I should calculate like scattering ...
In order to do that I need to solve the above two equations that you have mantioned in one ode.
Is that possible and how ?!
Thank you in advance for your help :)

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

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by