Location: BG_fast_Na @ 70e675b7b8af / matlab_parameter_fitting / calc_beta.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-08 10:24:21+13:00
Desc:
fix error
Permanent Source URI:
https://models.physiomeproject.org/workspace/826/rawfile/70e675b7b8af2e14572beca493704b180f864c41/matlab_parameter_fitting/calc_beta.m

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

beta = params(3)*exp(params(4)*F*V/R/T);

end