Bifurcation Diagram for system of ODEs

2 次查看(过去 30 天)
We are trying to plot a bifurcation diagram for the Fitz-Hugh Nagumo model: This is our function - (these parameter values show chaotic behaviour)
We understand that we probably need to use loops to create the birfurcation diagram and were going to use the parameter a to vary against, but we can't figure out how to do this in MATLAB. Any help would be appreciated.
function dv=myode3(t,v)
dv=zeros(2,1);
c=0.757;
b=0.124;
a=0.191;
f=0.1297;
l=(a/(2*pi*f))*cos(2*pi*f*t);
e=0.12;
dv(1)=v(1)*((1-v(1))*(v(1)-b))-v(2)+l;
dv(2)=e*(v(1)-c*v(2));
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by