RK4/AB4, need help with correct code for 2 second order equations in Matlab
Ältere Kommentare anzeigen
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 Kommentare
James Tursa
am 4 Apr. 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
am 4 Apr. 2020
James Tursa
am 4 Apr. 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
am 4 Apr. 2020
Bearbeitet: darova
am 6 Apr. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
