Location: BG_funny @ 9f3a5e0aeb75 / matlab_parameter_fitting / calc_alpha.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-11 13:49:29+13:00
Desc:
Fixing gate fitting bug
Permanent Source URI:
https://models.cellml.org/workspace/838/rawfile/9f3a5e0aeb753330ddb27c79e24899baced5b401/matlab_parameter_fitting/calc_alpha.m

function alpha = calc_alpha(params,V)
% params: [kf, zf, kr, zr];
R = 8.314;
T = 310;
F = 96485;

alpha = params(1)*exp(params(2)*F*V/R/T);

end