RK4/AB4, need help with correct code for 2 second order equations in Matlab
Afficher commentaires plus anciens
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 commentaires
James Tursa
le 4 Avr 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
le 4 Avr 2020
James Tursa
le 4 Avr 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
le 4 Avr 2020
Modifié(e) : darova
le 6 Avr 2020
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
