Location: BG_to_channel @ e643e61f3a81 / Clancy_matlab_parameter_fitting / calc_gate_transitions.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-04-20 10:39:38+12:00
Desc:
Fixing number of gate particles and storing in comp environment
Permanent Source URI:
https://models.cellml.org/workspace/82e/rawfile/e643e61f3a810af494db6a83bfa209e8bfa3bd77/Clancy_matlab_parameter_fitting/calc_gate_transitions.m

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

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

end