bvpxtend - Form guess structure for extending boundary value solutions

Syntax

solinit = bvpxtend(sol,xnew,ynew)
solinit = bvpxtend(sol,xnew,extrap)
solinit = bvpxtend(sol,xnew)
solinit = bvpxtend(sol,xnew,ynew,pnew)
solinit = bvpxtend(sol,xnew,extrap,pnew)

Description

solinit = bvpxtend(sol,xnew,ynew) uses solution sol computed on [a,b] to form a solution guess for the interval extended to xnew. The extension point xnew must be outside the interval [a,b], but on either side. The vector ynew provides an initial guess for the solution at xnew.

solinit = bvpxtend(sol,xnew,extrap) forms the guess at xnew by extrapolating the solution sol. extrap is a string that determines the extrapolation method. extrap has three possible values:

The value of extrap is case-insensitive and only the leading, unique portion needs to be specified.

solinit = bvpxtend(sol,xnew) uses the extrapolating solution where extrap is 'constant'. If there are unknown parameters, values present in sol are used as the initial guess for parameters in solinit.

solinit = bvpxtend(sol,xnew,ynew,pnew) specifies a different guess pnew. pnew can be used with extrapolation, using the syntax solinit = bvpxtend(sol,xnew,extrap,pnew). To modify parameters without changing the interval, use [] as place holder for xnew and ynew.

See Also

bvp4c, bvp5c, bvpinit

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS