ode23, too slow
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 3 Giu 2022
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
il 3 Giu 2022
I also suspect that you have a stiff system and should try ode23s
Risposta accettata
Più risposte (1)
Gloria
il 3 Giu 2022
0 voti
Categorie
Scopri di più su Ordinary Differential Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!