📄 boxom.m
字号:
function ymod=boxoM(data,theta)% model function for the boxo example% starting concentrations are at the end of the parameter vectory0 = theta(end-1:end);% time is the first column of data.ydatat = data.ydata(:,1);% if using lsode mex, save parameter vector in global variableglobal lsode_datalsode_data = theta;if exist('lsode_mex') == 3 % use much faster mex code for ode [tout,y] = lsode22('internal',t,y0);else [tout,y] = ode45(@boxoODE,t,y0,[],theta);endymod = y;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -