Location: cellLib @ 4c30575094de / BG_fit / calc_alpha.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-11-15 14:51:39+13:00
Desc:
Move figure creation outside of the function
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/4c30575094ded8dd75c2af87e0f9f8c368fde0c4/BG_fit/calc_alpha.m

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

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

end