?? 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 + -