How to solve differential equations which has more time dependent arguments ?
1 次查看(过去 30 天)
显示 更早的评论
I have equation gdot=-k*g+xdot, where xdot=-k*x+sin(t). how can I solve gdot using ode45 ?
7 个评论
J. Alex Lee
2021-5-29
haha yes exactly...but now the answer is given away :)
and g should likely be Y(2) as far as we know from pritesh's nomenclature
Torsten
2021-5-29
Yes, you are right with the g. I always associate it with the gravity constant ...
回答(0 个)
另请参阅
类别
在 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!