Location: BG_CaL @ c242f2bb2d71 / matlab_parameter_fitting / calc_alpha.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-13 16:23:02+12:00
Desc:
fix par names
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6d7/rawfile/c242f2bb2d71bea29b1f1d061215fb0401f598ca/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