rslr.m

来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 27 行

M
27
字号
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 + =
减小字号Ctrl + -
显示快捷键?