Location: BG_LCC @ 483b4648fcd9 / matlab_parameter_fitting / dx_f2.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-20 11:13:12+12:00
Desc:
storing gate particle number in comp environment
Permanent Source URI:
https://models.cellml.org/workspace/6d7/rawfile/483b4648fcd9603306c25a1df372ad54e5a2931e/matlab_parameter_fitting/dx_f2.m

function dx = dx_f2(x,alpha1,beta1,alpha2,beta2)

v1 = alpha1*x(2) - beta1*x(1);
v2 = alpha2*x(2) - beta2*x(3);

dx = [v1; -(v1+v2); v2];
end