R/fmri-model.R
dcm_fx_fmri.Rd
Computes dx/dt for the bilinear neural state equation coupled to the Buxton-Friston hemodynamic model. Mirrors SPM25's spm_fx_fmri.
dx/dt
spm_fx_fmri
dcm_fx_fmri(x, u, P, M)
State matrix (rows = regions, cols = state variables).
Driving inputs at the current time.
List of model parameters (A, B, C, D, transit, decay, epsilon, ...).
A
B
C
D
transit
decay
epsilon
Model structure list (optional).
Matrix dx/dt of the same shape as x.
x