Location: BG_Kr @ ae54ed237584 / BG_fit_parameters_CC / calc_beta_z1.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-02-28 15:10:27+13:00
Desc:
Fix equation finding K Kappa and update parameters
Permanent Source URI:
http://models.cellml.org/workspace/82c/rawfile/ae54ed237584007ec1fb64b38d528cf2476c0869/BG_fit_parameters_CC/calc_beta_z1.m

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

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

end