logistic映射李雅普诺夫matlab代码
时间: 2023-11-25 07:12:09 浏览: 159
以下是logistic映射的李雅普诺夫指数的Matlab代码:
```matlab
Le=zeros(401,);
i=0;
for u=0:0.001:4
i=i+1;
x=0.9;
y=0;
for k=1:200
x=u*x*(1-x);
y=y+log(abs(1-2*x));
end
Le(i,1)=u;
Le(i,2)=y/200;
end
plot(Le(:,1),Le(:,2));
hold on;
n=0:0.001:4;
plot(n,0,'b');
xlabel('\mu');
ylabel('Lyapunov指数图');
axis([1.5 4 -5 1]);
grid on
```
这段代码会计算logistic映射的李雅普诺夫指数,并绘制李雅普诺夫指数图。其中,u表示参数值,x表示初始值,y表示李雅普诺夫指数的累加和。该代码会在指定的参数范围内计算李雅普诺夫指数,并将结果绘制成图表。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Logistic映射的李雅普诺夫指数Lyapunov的matlab实现](https://blog.csdn.net/qq_40351988/article/details/121907800)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [matlab求最大李雅普诺夫Lyapunov指数程序_logistic映射最大lyapunov指数程序,henon映射最大李雅普诺夫指数](https://download.csdn.net/download/qq_41934573/18722103)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [三维混沌:耦合Sine映射与logistic映射(含MATLAB代码)](https://blog.csdn.net/weixin_46204734/article/details/124167995)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文