⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 henon_lyapunonv.m

📁 这是一个混沌理论中重要的henon映射lyapunov的程序。
💻 M
字号:
% The computation of Lyapunov for two-dimension Henon maping
% reference:
% 岳毅宏,韩文秀,基于系统Lyapunov指数分析的倍周期分岔研究,
% 控制与决策,17,2002: 814-819
clc;clear;close all;
% rand('state',0);
% Author's email:zjliu2001@163.com
% \copyright:zjliu
M=1000;
N=1000;
D2=1;
D3=0.3;
D4=0;
L1=0;
L2=0;
q=1;
for k=1:M;
    x=zeros(1,N);
    y=zeros(1,N);
    x(1)=rand;
    y(1)=rand;
    for L=1:N-1;
        x(L+1)=1-1.4.*x(L)^2+y(L);
        y(L+1)=0.3*x(L);
    end
    if abs(x(end))<2;
        D1=-2.8*x(end);
        JT=[D1,D2;D3,D4];
        [v,d]=eig(JT);
        d=diag(d);
        L1=L1+log(abs(d(1))); % the first Lyapunonv exponent
        L2=L2+log(abs(d(2))); % the second Lyapunonv exponent
        Xp(q)=x(end);
        Yp(q)=y(end);
        q=q+1;
    end
end
% display the first and second Lyapunonv exponent
L1=L1/(q-1),
L2=L2/(q-1),
% Draw figure for Henon maping:
figure; plot(Xp,Yp,'k.','markersize',2);

⌨️ 快捷键说明

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