how to get higher order derivative in ODE function
Mostrar comentarios más antiguos
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''?
Respuestas (1)
Mischa Kim
el 26 de Dic. de 2020
0 votos
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 comentarios
Giacomo Db
el 26 de Dic. de 2020
Mischa Kim
el 26 de Dic. de 2020
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.
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!