FUNCTION REFERENCE

bvpinit

Form the initial guess for bvp4c and bvp5c.

Form the initial guess for bvp4c and bvp5c.

Syntax

solinit = bvpinit(x, yinit)

Syntax

solinit = bvpinit(x, @guess, parameters)

x is the initial mesh (monotonic, repeated points allowed); yinit is a constant vector or

a function returning the guess at a mesh point. Returns a structure with fields solver,

x, y, parameters (when given) and yinit.

Example

s = bvpinit([0 0.5 1], [1 2]); s.y   % [1 1 1; 2 2 2]

Differences from MATLAB: extending a previous solution (bvpinit(sol, ...)) is not

supported yet; use bvpxtend.

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