资源简介
用于混沌系统的仿真,几种典型混沌系统的matlab程序。
代码片段和文件信息
function varargout = lorenzGUI(varargin)
%
% This GUI animates the solution of the system of three differential
% equations known as the “Lorenz Model“. For a detailed discussion of
% this model see [1].
%
% The equations are given as
%
% dy1/dx = -sigma*y1 + sigma*y2
% dy2/dx = -y1*y3 + r*y1 - y2
% dy3/dx = y1*y2 - b*y3
%
% where sigma r and b are positive constants.
%
% The GUI also allows to view the effects of small disturbances of the
% initial conditions on the solution path.
%
% The solver ODE45 is used to integrate the model equations.
%
% Reference:
% [1] E. Hairer S. Norsett G. Wanner: Solving Ordinary
% Differential Equations I Springer Berlin 2000.
% Author : Mirza Faisal Baig
% Version : 1.0
% Date : April 2 2004
%
% Updated to version 1.1 on April 23 2004
%
% Variable/Button definitions within GUIDE:
%
% Grid : Menu Option. Swicth grid ON and OFF
% yo : Text box. User defined inital conditions.
% dyo : Text Box. User defined disturbance in the initialconditions
% T (Start) : Text box. User defined start time.
% T (End) : Text box. User defined final/end time.
% b : Text box. User defined value of b.
% sigma : Text box. User defined value of sigma.
% r : Text box. User defined value of r.
% Actual (yo) Blue : Check Box. To view the solution path for the actual
% defined conditions (Blue color).
% Change (dyo) Red : Check Box. To view the solution path of the
% introduced disturbance (Red color).
% Animated 2D (1) : Radio Buttons. 2D animation with y1 vs y2.
% Animated 2D (2) : Radio Buttons. 2D animation with y1 vs y3.
% Animated 3D : Radio Buttons. 3D animation.
% RUN/STOP : Push Button. To run/plot or stop animation
% INFO : Push Button. To display help
% CLOSE : Push Button. To close the application
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @lorenzGUI_OpeningFcn ...
‘gui_OutputFcn‘ @lorenzGUI_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin & isstr(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT
%--------------------------------------------------------------------------
function lorenzGUI_OpeningFcn(hobject eventdata handles varargin)
handles.output = hobject;
movegui(hobject‘onscreen‘) % To display application onscreen
mo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 152051 2010-10-15 16:45 大白兔洛伦兹3-D(2).jpg
目录 0 2010-10-15 17:21 大白兔洛伦兹方程\
目录 0 2010-10-15 17:01 大白兔洛伦兹方程\lorenzmodel\
文件 57848 2004-04-23 16:59 大白兔洛伦兹方程\lorenzmodel\lorenzGUI.fig
文件 17276 2010-10-15 15:36 大白兔洛伦兹方程\lorenzmodel\lorenzGUI.m
文件 14848 2010-10-15 17:01 大白兔洛伦兹方程\Thumbs.db
文件 141677 2010-10-15 16:45 大白兔洛伦兹方程\大白兔洛伦兹3-D.jpg
文件 155157 2010-10-15 16:44 大白兔洛伦兹方程\大白兔洛伦兹x-Z.jpg
文件 186495 2010-10-15 16:44 大白兔洛伦兹方程\大白兔洛伦兹X-z(2).jpg
文件 151277 2010-10-15 16:43 大白兔洛伦兹方程\洛伦兹y.jpg
文件 128 2010-10-15 17:27 大白兔洛伦兹方程\洛伦兹方程.txt
- 上一篇:三相异步电机矢量控制simuli
nk仿真模型 - 下一篇:稀疏贝叶斯matlab程序
评论
共有 条评论