当前位置:网站首页>Matlab- draw bifurcation and chaotic bifurcation diagrams
Matlab- draw bifurcation and chaotic bifurcation diagrams
2022-07-27 10:20:00 【User 9925864】
# Common logical mapping f(x)=rx(1-x)
clear;% Clear variables
clc;% Clear the display
r=-2:0.01:4;% The bifurcation diagram is shown in r Abscissa , Domain of definition -2 To 4
x=0.3;
% To any r, Whatever 0 To 1 Internal initial value
for i=1:5000 % First iterate many times to achieve stability
x=r.*x.*(1-x);% Iterative formula
end
% Circulation or judgment are based on end end
figure;% Give an image board
hold on;% When drawing a new picture, keep the old picture on the drawing board
for i=1:1000 % These cycles are to be drawn on the diagram
x=r.*x.*(1-x);% Iterative formula
plot(r,x,'k.','markersize',1);% Draw a picture
end
clc,clear
[email protected](k,x)k*sin(pi*x);
x0=0.3;
for k=0.5:0.01:2;
for i=1:300
x0=y(k,x0);
if i>150
plot(k,x0,'.b')
hold on;
end
end
end
grid onclc,clear
[email protected](k,x)1-k*x^2;
x0=0;
for k=0.01:0.005:1.99
for i=1:300
x0=y(k,x0);
if i>150
plot(k,x0,'.b')
hold on;
end
end
end
grid on边栏推荐
猜你喜欢

Local connection to remote server database under Windows platform (I)
![Text processing tool in shell, cut [option parameter] filename Description: the default separator is the built-in variable of tab, awk [option parameter] '/pattern1/{action1}filename and awk](/img/ed/941276a15d1c4ab67d397fb3286022.png)
Text processing tool in shell, cut [option parameter] filename Description: the default separator is the built-in variable of tab, awk [option parameter] '/pattern1/{action1}filename and awk

NFS 服务器的搭建

Shell integrated application cases, archiving files, sending messages

After one year, the paper was finally accepted by the international summit

数据库性能系列之子查询

Food safety | the more you eat junk food, the more you want to eat it? Please keep this common food calorimeter

window平台下本地连接远程服务器数据库(一)

Oracle resizing data files

Two architectures of ETL (ETL architecture and ELT Architecture)
随机推荐
Example of ICP registration for PCL
samba服务器
Program translation and execution, from editing, preprocessing, compilation, assembly, linking to execution
Oracle RAC 19C PDB instance is down
Excellent Kalman filter detailed article
线代004
DCGAN论文改进之处+简化代码
Data visualization
Preparation for Android interview (including the whole process of interview, interview preparation, interview questions and materials, etc.)
Summary of binary tree exercises
Open3d library installation, CONDA common instructions, importing open3d times this error solving environment: failed with initial frozen solve Retrying w
Cannot start after installing MySQL 5.7.27 in CentOS 7? (Language bash)
Shell综合应用案例,归档文件、发送消息
Girl fan wants to find a boyfriend, but it's for
Shell流程控制(重点)、if 判断、case 语句、let用法、for 循环中有for (( 初始值;循环控制条件;变量变化 ))和for 变量 in 值 1 值 2 值 3… 、while 循环
matlab-绘制分叉与混沌分支图
Two architectures of ETL (ETL architecture and ELT Architecture)
如何创建一个带诊断工具的.NET镜像
语音识别的一些开源项目整理
Basic statement of database operation