cldesf.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 15 行
M
15 行
function xdot=cldesf(t,x,flag,A)% CALL: xdot=cldesf(t,x,flag,A) This function defines the equations % xdot(t)=A*x(t) used by MATLAB commands ode23 and ode45.% A is passed to function; flag is a dummy variablexdot=A*x;%% Example 5.18 defines the system% xdot(1) = x(3);% xdot(2) = x(4);% xdot(3) = -2*x(1) + x(2);% xdot(4) = x(1)-2*x(2);% With the global statement any system xdot=A*x can be defined
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?