Location: BG_Kr @ bd8f1a808e21 / BG_fit_parameters_CC / calc_alpha_z1.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-24 16:09:46+13:00
Desc:
Add
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82c/rawfile/bd8f1a808e21ed308da7eedca222fd1ae09cd992/BG_fit_parameters_CC/calc_alpha_z1.m

function alpha = calc_alpha_z1(params,V,z)
% params: [kf, kr];
R = 8.314;
T = 310;
F = 96485;

% alpha = params(:,1).*exp(1*F*V/R/T);
alpha = bsxfun(@times, params(:,1)',exp(z*F*V/R/T));

end