📄 logistic.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -