Is there a way to require ddesd to use a value from the previous time step?

Is there a way to use 'ddesd' or 'dde23' to evaluate y at the previous time step (by time step, I mean a full time step t+dt)? I know you can specify time steps of constant value such t - 1, t - 0.2, etc., but I would like to evaluate it using the previously calculated value. I also want to avoid calculating the ODE from t = t0 to t = t0+dt and using the solution as initial conditions for t = t0+dt to t = t0+2*dt because this will take far too much computation time.

Antworten (0)

Produkte

Tags

Gefragt:

Ali
am 27 Mai 2013

Community Treasure Hunt

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

Start Hunting!

Translated by