ode23, too slow
Ältere Kommentare anzeigen
It takes a long time to solve the code. Is it because the code is reading data from a.dat file? How can I make it go faster? It slows down even more as time increases and the time step gets smaller.
2 Kommentare
Walter Roberson
am 3 Jun. 2022
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
am 3 Jun. 2022
I also suspect that you have a stiff system and should try ode23s
Akzeptierte Antwort
Weitere Antworten (1)
Gloria
am 3 Jun. 2022
0 Stimmen
Kategorien
Mehr zu Ordinary Differential Equations 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!