Location: BG_funny @ 555927df62a1 / matlab_parameter_fitting / calc_alpha.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-08 11:33:45+13:00
Desc:
Fixing znames
Permanent Source URI:
https://models.cellml.org/workspace/838/rawfile/555927df62a13fe0ca207a420fcc3f542985d949/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