Location: cellLib @ a51b8d8cc2c7 / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-05-04 10:06:42+12:00
Desc:
close file after writing
Permanent Source URI:
https://staging.physiomeproject.org/workspace/6bc/rawfile/a51b8d8cc2c73ab9e6fdc37c6cd695a97cacd1d7/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