logistic.m

来自「计算各种混沌系统李雅普洛夫指数的MATLAB 源程序。」· M 代码 · 共 32 行

M
32
字号
function X2=logistic(X1)%LOGISTIC  Logistic map (a 1st-order discrete system):%%                 x(k+1) = a*x(k) - b*x(k)^2%%          In this demo, the parameters are: a = b = 4.%          Initial condition: x(0) = 0.1%          True Lyapunov exponent value: LE1 = ln(2) = 0.693%          Lyapunov Dimension (LD) is not defined for 1st-order system.%          (LD = 0 will be shown for an undefined LD)%          by Steve Wai Kam SIU, Jun. 28, 1998.%Parametersa=4;b=4;%Logistic mapx1=X1(1);x2=a*x1-b*(x1^2);%Linearized equationJ=a-2*b*x1;%Variational equationQ=X1(2);F=J*Q;%Put output data in a column vectorX2=[x2;F];

⌨️ 快捷键说明

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