modode5.m
来自「matlab高级统计工具箱」· M 代码 · 共 15 行
M
15 行
function y=modode5(k,tspan,x0)
%function y=modode5(k,tspan,x0)
%% example to fit ode parameters
% x0(init condition) is extra passed parameter
[t,x12]=ode45('xprime',tspan,x0,[],k);
% xprime must be in separate file
%% take second x12 for output y, this is the one being fitted
y=x12(:,2);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?