Using Ode45 to solve differential equation with time dependent variable
1 次查看(过去 30 天)
显示 更早的评论
Solve the differential equation in 30 steps up to the 15th minute, D2x+0.9*Dx+0.1*x=3*sin(t),initial conditions are x(0)=10 and Dx(0)=5.
1 个评论
James Tursa
2021-5-25
What have you done so far? What specific problems are you having with your code?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!