Help! Trouble understanding differential equation.
古いコメントを表示
Hi my name is Hidde and i am a first year IEM student,
I got an assignment where i have to solve a differential equation written in the form: f'(t) = A*(g(t) - f(t)) + B*(h(t) - f(t))
I have never seen a DE with multiple functions inside it. I have data for the g(t) where all the values for g(t) are given in the interval [1, 1440] (with steps of 1).
h(t) is discribed as: h'(t) = C*(f(t) - h(t)) + C*(g(t) - h(t)).
i have to use ode45 to solve this problem.
5 件のコメント
Star Strider
2019 年 10 月 24 日
See the documentation on Function Basics if you have not already encountered functions, and the documentation on Anonymous Functions. Then review the documentation on ode45 or whatever solver you believe is necessary. Code the problem you want to solve. If you have problems, post back here. We can help you get your code running.
Hidde Kemperink
2019 年 10 月 24 日
Hidde Kemperink
2019 年 10 月 24 日
編集済み: Hidde Kemperink
2019 年 10 月 24 日
John D'Errico
2019 年 10 月 24 日
You have never seen a differential equation with multiple functions in it? Surely not true. For example, something as simple as this:
y' = x + x^2
or
y' = exp(x) + x
would fit that goal.
Hidde Kemperink
2019 年 10 月 24 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
