The following code is a MATLAB translation of the original Fortran code which implements the Modified Extended Backward Differentiation Formulae (MEBDF). The MEBDF are described, for example, in the book by Hairer and Wanner .
Here is a MATLAB translation of the of the original code MEBDF.f.
The MEBDFDAE code is designed to solve stiff Initial Value Problems for systems of ordinary differential equations (ODEs)
Y´ = F(T,Y),
and linearly implicit differential algebraic equations (DAEs)
M Y´ = F(T,Y)
where M is a constant matrix.