Runge-Kutta (2, 3)-method with variable step size, resp
ode23(f, a, b, y0, n, Pars, rtol = 0.001, atol = 1e-06)
List with components t for time points between a and b and y an n-by-m matrix with solutions for variables in columns, i.e. each row contains one time stamp.
function in the differential equation \(y' = f(x, y)\); defined as a function \(R \times R^m \rightarrow R^m\), where \(m\) is the number of equations.
starting time for the interval to integrate
ending time for the interval to integrate.
starting values at time a
Not used
named list of parameters passed to f
relative tolerance.
absolute tolerance.
Copied from pracma under GPL-3, with small modifications to work with RTMB. This can be used to simulate dynamics, but not during estimation