how to compute derivative
古いコメントを表示

having all the values in the above equation, is the below code correct for dE(t)/d(t) computation?
dEt = beta * (1 - sigma) * St * It - (mu + alpha) * Et
what do i need to do to compute dE(t)/d(t)
4 件のコメント
darova
2021 年 4 月 4 日
Looks like differential equation. DO you have initial value
?
You can use ode45
Elysi Cochin
2021 年 4 月 4 日
darova
2021 年 4 月 4 日
Do you have any attempts?
John D'Errico
2021 年 4 月 4 日
What you have not said is explicitly WHAT you have.
What does it mean to have values?
is beta a fixed known constant? How about mu and alpha?
Is S known as a function, or do you have a list of points for S as a function of t?
Similarly for I(t). Is that known?
Is E(t) known, or are you trying to solve for E(t). That would make this a differential equation, if E is an unknown function.
Finally, do you have some sort of initial value for E(t) at some fixed value for t?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!