📄 state.m
字号:
function stst = state(t,y)
% set up the state equations as a col vector
% the previous state is known in y
% the first order derivatives is returned
% in the variable name used to the left
% of the equal sign
stst = [ y(2) , (y(1)*y(1)+y(2)*y(5)- y(3)*y(3)) ,...
y(4), (2*y(1)*y(3) +y(4)*y*5)), -2*y(1)]';
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -