programs_12a.m

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

M
16
字号
% Chapter 12 - Bifurcation Theory.
% Programs_12a - Animation of a simple curve.
% Copyright Birkhauser 2004. Stephen Lynch.

% The curve y=mu-x^2, for mu from -4 to +4.
axis tight
% Record the movie
x=-4:.1:4;
for n = 1:9 
    plot(x,(n-5)-x.^2,x,0);
    M(n) = getframe;
end
% Use the movieviewer to watch the animation.
movieview(M)

% End of Programs_12a.

⌨️ 快捷键说明

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