Bifurcation Diagram
显示 更早的评论
I want to draw the bifurcation diagram fro the model.
dx/dt=rx(1-x/K)-mxy/(ax+by+c)
dy/dt=emxy/(ax+by+c)-dy-hy^2.
parameters are all +ve.
I have tryed to plot it but fails.
clear
r=0.806; a=15; b=16;c=17;e=0.333;d=0.3;h=0.01;K=200;
x (1)=0.7;
y (1)=0.11;
t (1)=0;
for m=6:1:22
for i=1:10000
t (i+1)=t (i)+.01;
x (i+1)= x (i)+0.01*[r*x (i)*(1-x (i)/K)-m*x (i)*y (i)/(a*x \
(i)+b*y (i)+c)];
y (i+1)=y (i)+.01*[e*m*x (i)*y (i)/(a*x (i)+b*y (i)+c)-d*y (i)-h*y \
(i)^2];
end
plot (m,x, 'b')
hold on;
end
xlabel ('m')
ylabel ('x')
figure (2)
for m=6:1:22
for i=1:10000
t (i+1)=t (i)+.01;
x (i+1)= x (i)+0.01*[r*x (i)*(1-x (i)/K)-m*x (i)*y (i)/(a*x \
(i)+b*y (i)+c)];
y (i+1)=y (i)+.01*[e*m*x (i)*y (i)/(a*x (i)+b*y (i)+c)-d*y (i)-h*y \
(i)^2];
end
plot (m,y, 'b')
hold on;
end
xlabel ('m')
ylabel ('y')
Please modify or help me to modify the matlab code to draw the following bifurcation diagram (parameter VS population):
1.Transcritical bifurcation (x vs m & y vs. m) around at m= 13.666
2. Saddle-node bifurcation (x vs m & y vs. m) around at m = 20.8.
3. Hopf-bifurcation (x vs m & y vs. m) at m=14.73, (d,h) = (0.02,0.001) and others are same.
4 个评论
Mirza
2013-3-4
Plz try to read this. It has all relevant information. http://amath.colorado.edu/courses/2460/2009fall/Homeworks/bifurcation.pdf
DEEPIHA PADMANATHAN
2017-1-10
The requested page "/courses/2460/2009fall/Homeworks/bifurcation.pdf" could not be found. Page not found
MD EASHIN PATWARY
2019-8-18
Both file is not working,
采纳的回答
更多回答(1 个)
Lazaros Moysis
2025-3-12
1 个投票
The bifurcation diagram depicts changes in the dynamical behavior of the system, as one parameter changes. Changing a parameter of the system will change the dynamical behavior of the system. The bifurcation diagrams depicts exactly these changes. So by looking at it, we can understand for which parameter values the system is periodic with period-n, or chaotic. We do this usually by computing how many intersections the system's trajectory will have with a specific plane. If it is periodic, it will have a fixed amount of intersections, if it is chaotic it will have inumerable amount of intersections. The diagram depicts these points of intersection, so we can observe the behavior of the system, as well as how it transitions in and out of chaos as a parameter changes. The following two videos explain the theory behind the diagram, as well as the Matlab code to generate it. They will help you immensly in understanding the diagram.
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!