Location: BG_Na_background @ 7bd2583315a0 / matlab_parameter_fitting / calc_beta_simple.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-29 08:31:39+13:00
Desc:
Fixing units in cellml, and therefore channel density
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82b/rawfile/7bd2583315a0a0f34cae507f0e4dbf4b3799dbe5/matlab_parameter_fitting/calc_beta_simple.m

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

beta = params(2)*exp(z*F*V/R/T);

end