FUNCTION REFERENCE

odextend

Extend the solution of an initial value problem.

Extend the solution of an initial value problem.

Syntax

solext = odextend(sol, odefun, tfinal)

Syntax

solext = odextend(sol, [], tfinal, yinit, options)

Continues the integration of sol from sol.x(end) to tfinal with the same solver (a new

odefun, initial values or options may be given) and returns the joined solution.

Example

sol = ode45(@(t,y) -y, [0 1], 1); sol2 = odextend(sol, [], 2); deval(sol2, 2)   % 0.1353

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.