AB7
Propagates the state vector forward one time step using the AdamsBashforth 7thorder method.
Back to IVP Solver Toolbox Contents.
Contents
Syntax
F = AB7(f,t,F,h)
Description
F = AB7(f,t,y,h) updates the matrix, F, for the next sample time, given the matrix at the current time t, the function f(t,y) defining the ODE , and the step size h.
Input/Output Parameters
Variable  Symbol  Description  Format  
Input  f  multivariate, vectorvalued function () defining the ordinary differential equation
 inputs to f are the current time (t, 1×1 double) and the current state vector (y, p×1 double)  output of f is the state vector derivative (dydt, p×1 double) at the current time/state 
1×1 function_handle 

t  current sample time  1×1 double 

F  matrix (see Section 3.5.2 of the technical documentation) for the current sample time  p×8 double 

h  step size  1×1 double 

Output  F  matrix (see Section 3.5.2 of the technical documentation) for the next sample time  p×8 double 