ODE Initial value problem
显示 更早的评论
Solve the following differential equation on t∈[0,5]
dy/dt=-10.8*y;
y(0)=1;
回答(1 个)
Star Strider
2017-3-8
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!