how to get higher order derivative in ODE function
6 次查看(过去 30 天)
显示 更早的评论
in a differential equation of this type
My'' = y' + y + a
where M is the mass matrix and a is a constant.
Using ODE solver and transforming the diff equation in the cauchy form, How can i get the solution for every step also for the y''?
0 个评论
回答(1 个)
Mischa Kim
2020-12-26
Hi Giacomo, when you solve the ODE this means you have solutions for y(t) and y'(t). You can then simply use the same equation from your ode function to compute y''.
2 个评论
Mischa Kim
2020-12-26
I see. I did not see any reference to events function in your question. Please add your code and other essential information to your question above and we can try to help you figure things out.
另请参阅
类别
在 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!