RK4/AB4, need help with correct code for 2 second order equations in Matlab
Mostrar comentarios más antiguos
I have examples of code to follow for one second order equation but struggling to write correct code for 2 second order equations. grateful for any help!
4 comentarios
James Tursa
el 4 de Abr. de 2020
One 2nd order equation will result in a 2-element state vector. Two 2nd order equations will result in a 4-element state vector. Just write your derivative function for a 4-element state vector. What have you tried so far?
Anne Ellaway
el 4 de Abr. de 2020
James Tursa
el 4 de Abr. de 2020
Let us know if you need more help. We can't give much advice until we see the differential equations and the code you have written.
Anne Ellaway
el 4 de Abr. de 2020
Editada: darova
el 6 de Abr. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
