sol = bvp4c(odefun, bcfun, solinit)
sol = bvp4c(odefun, bcfun, solinit, options)
bvp4c solves first-order boundary value problems from an initial mesh and guess produced by bvpinit.
| Item | Details |
|---|---|
| Problem form | First-order system y' = f(x,y) with boundary residuals bcfun(ya,yb). |
| Initialization | bvpinit supplies the initial mesh, solution guess, and optional unknown parameters. |
| Method | Fourth-order collocation. |
| Solution | sol structure with x, y, yp, parameters, and stats. |
Options created with bvpset can provide FJacobian, BCJacobian, Vectorized, and SingularTerm. When both Jacobian callbacks are supplied, the Newton iteration uses them instead of finite differences. Solution stats include niterations, nmeshpoints, residualNorm, residualRms, nrefinements, maxDefect, rmsDefect, and, when available, nfevals.
rootPath = modulepath('ode_solvers', 'root');
run([rootPath, '/examples/dde_bvp_added_features_example.m'])
| Version | Description |
|---|---|
| 2.0.0 | initial version |