ode23, too slow
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 3 de Jun. de 2022
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
el 3 de Jun. de 2022
I also suspect that you have a stiff system and should try ode23s
Respuesta aceptada
Más respuestas (1)
Gloria
el 3 de Jun. de 2022
0 votos
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!