Location: cellLib @ 19b058307b9f / BG_fit / calc_beta.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-20 10:24:11+12:00
- Desc:
- Add units; pass the inputs to the children models
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/6bc/rawfile/19b058307b9f998bfffa80c25aa156fa64500e44/BG_fit/calc_beta.m
function beta = calc_beta(params,V,T) % params: [kf, zf, kr, zr]; R = 8.314; F = 96485; beta = params(3)*exp(params(4)*F*V/R/T); end