加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
odefunction_Amax.m 843 Bytes
一键复制 编辑 原始数据 按行查看 历史
sophie 提交于 2014-06-22 01:17 . ~~
function Y=odefunction_Amax(t,y)
% ODEFUNCTION_AMAX calculate the concentration of T,D,S,U
% t time span
% y origin concentration of T,D,S,U
% Y final concentration of T,D,S,U
%
% KaiA concentration of KaiA
% KaiB concentration of KaiB
% k1 k_1 in the equilibrium of 'S+B=SB'
% k2 k_-1 in the equilibrium of 'S+B=SB'
% m parameter for adjustment
% kxy0 k_XY^a0 in equation
% kxyA k_XY^A in equation
% Khalf K_1/2 in equation
global KaiA KaiB k1 k2 m kxy0 kxyA Khalf
A=max(0,KaiA-2*m*y(5));
kxy=kxy0+kxyA*A./(Khalf+A);
B=KaiB-y(5);
Y5=k1*y(3)*B-k2*y(5);
Y0=[
kxy(4,1)*y(4)+kxy(2,1)*y(2)-kxy(1,4)*y(1)-kxy(1,2)*y(1);
kxy(1,2)*y(1)+kxy(3,2)*(y(3)+y(5))-kxy(2,1)*y(2)-kxy(2,3)*y(2);
kxy(4,3)*y(4)+kxy(2,3)*y(2)-kxy(3,4)*(y(3)+y(5))-kxy(3,2)*(y(3)+y(5))-Y5;
];
Y=[Y0;
-Y0(1)-Y0(2)-Y0(3);
Y5;];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化