Tutorial on solving BVPs with BVP4C

Solving boundary value problems with BVP4C. Tutorial + Examples.
38.6K Downloads
Updated 1 Sep 2016

View License

This tutorial shows how to formulate, solve, and plot the solutions of boundary value problems (BVPs) for ordinary differential equations.
The tutorial introduces the function BVP4C (available in MATLAB 6.0 and later), briefly describes the numerical method used, and illustrates solving BVPs with several examples and exercises.

The M-files for all the examples and exercises in the tutorial are available in the directory BVP_examples.

The directory BVP_examples_65 contains the files for the examples and exercises, updated to take advantage of features available in MATLAB 6.5 (R13).
Correspondingly, BVP_examples_70 contains files modified for use with MATLAB 7.0 (R14).

More information about solving BVPs in MATLAB, can be found in the paper

Jacek Kierzenka, Lawrence F. Shampine,
A BVP Solver based on Residual Control and the MATLAB PSE,
ACM TOMS, Vol. 27 (2001), No. 3, pp. 299-316.

or in the book

L.F. Shampine, I. Gladwell, and S. Thompson,
Solving ODEs with MATLAB, Cambridge University Press, 2003.

Cite As

Jacek Kierzenka (2024). Tutorial on solving BVPs with BVP4C (https://www.mathworks.com/matlabcentral/fileexchange/3819-tutorial-on-solving-bvps-with-bvp4c), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: sinan

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.1

Updated license

1.2.0.0

Copyright update

1.1.0.0

Copyright update

1.0.0.0

Updated to MATLAB 7.0 (R14)