Mathematics Previous page   Next Page

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,

  1. Create an options structure using the function bvpset by entering
  2. Pass the options structure to bvp4c as follows:

For a complete description of the available options, see the reference page for bvpset.


Previous page  Solving Multi-Point BVPs Partial Differential Equations Next page

© 1994-2005 The MathWorks, Inc.