nbvp.m

A simple solver for a 2nd order nonlinear BVP

You are now following this Submission

This code solves and then plots the solution of the 2nd order nonlinear BVP
y'' = f(x, y, y') for xL < x < xR
where
a0*y(xL) + b0*y'(xL) = c0 and a1*y(xR) + b1*y'(xR) = c1
It is not as sophisticated as bvp4c, but it allows for easy manipulation of the solution procedure and solves the problem relatively quickly.

Cite As

Mark Holmes (2026). nbvp.m (https://au.mathworks.com/matlabcentral/fileexchange/27190-nbvp-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

The code was upgraded so it can now handle boundary conditions of the form

a0*y(xL) + b0*y'(xL) = c0 and a1*y(xR) + b1*y'(xR) = c1

1.0.0.0