memory requirement for ode solvers
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have a large set of ODEs solved by ode45. It works fine but take a bit long. I tried to use other ode solvers and all the stiff solvers generated "out of memory" errors. My question is: what is the memory requirements for the ODE solvers? If no precise answer is possible, do we have some general ideas?
My rough guess is that for the explicit solvers the memory needed is O(N) and the implicit solvers need O(N^2), with N being the number of variables. But I have not found any information about this anywhere.
Bo
3 Kommentare
Antworten (1)
Zoltán Csáti
am 16 Jan. 2015
Bearbeitet: Zoltán Csáti
am 16 Jan. 2015
I recommend you to discretize first in time and then in space. Then you don't have to handle large number of ordinary differential equations. Or if you insist on this approach, use another solver written by yourself which is less demanding in this case.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!