📄 rslr.m
字号:
function z = rslr(t,x)
% The function RSLR solves the Rossler equation:
% dX/dT=-Y-Z; dY/dT=X+a*Y; dZ/dT=c+Z*(X-b).
%
% The following coefficients are used in equation: a=0.2, c=0.2 and b=3.5.
%
% Calling sequence-
% z=rslr(t,x)
%
% Input-
% t - time step
% x - a column vector of 3 components x(3,1)
% representing X Y and Z
% Output-
% z - a column vector of 3 components z(3,1),
% representing dX/dT dY/dT and dZ/dT
%----- Initialize
mu1=3.5;
z=zeros(3,1);
%----- Solve
z(1)=-(x(2)+x(3));
z(2)=x(1)+.2*x(2);
z(3)=.2+x(3)*(x(1)-mu1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -