Location: cellLib @ 7a0891202d18 / BG_fit / calc_beta.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-08-17 11:26:32+12:00
Desc:
Add readMatrices and writeBGparas; modify whichComp to be string array; update readme
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/7a0891202d18fe6d01956b6768e3f10c3dc802c6/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