Mathematics

BVP Function Summary

ODE Boundary Value Problem Solver

 Solver Description `bvp4c` Solve two-point boundary value problems for ordinary differential equations.

BVP Helper Functions

 Function Description `bvpinit` Form the initial guess for `bvp4c`. `deval` Evaluate the numerical solution using the output of `bvp4c`.

BVP Solver Properties Handling

An options structure contains named properties whose values are passed to `bvp4c`, and which affect problem solution. Use these functions to create, alter, or access an options structure.

 Function Description `bvpset` Create/alter the BVP options structure. `bvpget` Extract properties from options structure created with `bvpset`.

ODE Boundary Value Problem Examples

These examples illustrate the kind of problems you can solve using the BVP solver. Click the example name to see the code in an editor. Type the example name at the command line to run it.

 Note    The Differential Equations Examples browser enables you to view the code for the BVP examples, and also run them. Click on the link to invoke the browser, or type `odeexamples('bvp')`at the command line.

 Example Description `emdenbvp` Emden's equation, a singular BVP `fsbvp` Falkner-Skan BVP on an infinite interval `mat4bvp` Fourth eigenfunction of Mathieu's equation `shockbvp` Solution with a shock layer near x = 0 `twobvp` BVP with exactly two solutions

Additional examples are provided with the tutorial by Shampine, Reichelt, and Kierzenka, "Solving Boundary Value Problems for Ordinary Differential Equations in MATLAB with bvp4c." The tutorial and the examples are available at ftp://ftp.mathworks.com/pub/doc/papers/bvp/. This tutorial illustrates techniques for solving nontrivial real-life problems.

 Boundary Value Problems for ODEs Introduction to Boundary Value ODE Problems