Location: cellLib @ 19a84bba8e35 / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2021-11-15 14:41:31+13:00
Desc:
correct the plot function
Permanent Source URI:
https://models.physiomeproject.org/workspace/6bc/rawfile/19a84bba8e353d39457b67083980475bf9e140ed/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