Location: BG_funny @ 3c48323a79a0 / matlab_parameter_fitting / calc_gate_transitions.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-07 15:28:10+13:00
Desc:
fix equation for q_mem
Permanent Source URI:
https://staging.physiomeproject.org/workspace/838/rawfile/3c48323a79a0c3eb60bcf793fa09fab3ac4c6051/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