Location: cellLib @ 2a39f3dee502 / BG_fit / calc_gate_transitions.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-14 10:56:16+12:00
- Desc:
- remove alias in components; allow labeling vars pass by parameters
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/2a39f3dee502df3bf8992cf16931e290b90c0b86/BG_fit/calc_gate_transitions.m
function [alpha,beta] = calc_gate_transitions(params,V,T) % params: [kf, zf, kr, zr]; R = 8.314; F = 96485; alpha = params(1)*exp(params(2)*F*V/R/T); beta = params(3)*exp(params(4)*F*V/R/T); end