ODE Initial value problem

13 ビュー (過去 30 日間)
SilenceSSS
SilenceSSS 2017 年 3 月 8 日
回答済み: Star Strider 2017 年 3 月 8 日
Solve the following differential equation on t∈[0,5]
dy/dt=-10.8*y;
y(0)=1;

回答 (1 件)

Star Strider
Star Strider 2017 年 3 月 8 日
With the plot, it takes 5 lines of code.
Give it a go! See the documentation for ode45 for valuable and relevant information. Also see the section in the documentation for Function Basics on Anonymous Functions.

カテゴリ

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