ex5_3_state.m

来自「good code for matlab by mili , i than yo」· M 代码 · 共 7 行

M
7 行
字号
function stst = Ex5_3_state(t,y) 
% set up the state equations as a col vector 
% the previous state is input as y 
% the first order derivatives is returned 
% in the variable name used to the left 
% of the equal sign 
stst = [ y(2) , y(3) , -0.5*y(1)*y(3)]'; 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?