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!