ode15s Preparation

1 visualizzazione (ultimi 30 giorni)
C
C il 22 Giu 2021
Hi all
I notice that when I use ode15s (or any other solver, really), it calls my derivative function ("odefun") multiple times at t=0 (given tspan=[0 T]). It seems the larger the problem, the more times odefun is called at t=0. What is it evaluating?
For more info, these t=0 calls are before the backwards steps taken (to estimate an appropriate initial step size I guess).
Calls at 0 step size also seem to occur throughout integration. Not sure if it's for the same purpose as the first set of t=0 (and so 0 step size) calls.
Thanks in advance.
MATLAB2021a

Risposte (0)

Tag

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by