programs_12c.m

来自「《Dynamical Systems with Applications usi」· M 代码 · 共 21 行

M
21
字号
% Chapter 12 - Bifurcations of Nonlinear Systems in the Plane.
% Programs_12c - Hopf Bifurcation.
% Copyright Birkhauser 2004. Stephen Lynch.

% Animation of Hopf bifurcation of a limit cycle from the origin.
% NOTE: Run Programs_12d NOT Programs_12c.


function sys=Programs_12c(t,x);
global mu
X=x(1,:);  
Y=x(2,:);  

% Define the system.
P=Y+mu*X-X.*Y.^2;        
Q=mu*Y-X-Y.^3; 

sys=[P;Q]; 
% End of Programs_12c.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?