Location: cellLib @ 3e419bc30924 / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-04 14:11:30+12:00
Desc:
update readme
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/3e419bc30924d47e6c80ab0897f30ad09e9ff4a3/BG_fit/calc_beta.m

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

beta = params(3)*exp(params(4)*F*V/R/T);

end