Location: cellLib @ c9682a987f6f / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-13 18:59:53+12:00
Desc:
Replace writeDefault.m with getPara.m
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/c9682a987f6f0cc4dfe37b93e624fb86c5d0c1fe/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