ode23, too slow
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 3 Juin 2022
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
le 3 Juin 2022
I also suspect that you have a stiff system and should try ode23s
Réponse acceptée
Plus de réponses (1)
Gloria
le 3 Juin 2022
0 votes
Catégories
En savoir plus sur Ordinary Differential Equations 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!