midpoint


midpoint, a MATLAB code which solves one or more ordinary differential equations (ODE) using the (implicit) midpoint method.

Unless the right hand side of the ODE is linear in the dependent variable, each midpoint step requires the solution of an implicit nonlinear equation. Such equations can be approximately solved using methods such as fixed point iteration, or an implicit equation solver like fsolve().

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Source Code:

Tests:


Last revised on 04 February 2021.