Mathematics |
Changing BVP Integration Properties
The default integration properties in the BVP solver bvp4c
are selected to handle common problems. In some cases, you can improve solver performance by overriding these defaults. You do this by supplying bvp4c
with an options
structure that specifies one or more property values.
For example, to change the value of the relative error tolerance of bvp4c
from the default value of 1e-3
to 1e-4
,
bvpset
by entering
options
structure to bvp4c as follows:
For a complete description of the available options, see the reference page for bvpset
.
Note
For other ways to improve solver efficiency, check Using Continuation to Make a Good Initial Guess and the tutorial, "Solving Boundary Value Problems for Ordinary Differential Equations in MATLAB with bvp4c," available at www.mathworks.com/bvp_tutorial .
|
Solving Multi-Point BVPs | Partial Differential Equations |
© 1994-2005 The MathWorks, Inc.