资源简介
MATLAB之GMATLAB之GUI界面设计 混沌模型 Logistic映射UI界面设MATLAB之GUI界面设计 混沌模型 Logistic映射计 混沌模型 Logistic映射
代码片段和文件信息
function varargout = bd(varargin)
% BD MATLAB code for bd.fig
% BD by itself creates a new BD or raises the existing
% singleton*.
%
% H = BD returns the handle to a new BD or the handle to
% the existing singleton*.
%
% BD(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in BD.M with the given input arguments.
%
% BD(‘Property‘‘Value‘...) creates a new BD or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before bd_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to bd_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE‘s Tools menu. Choose “GUI allows only one
% instance to run (singleton)“.
%
% See also: GUIDE GUIDATA GUIHANDLES
% Edit the above text to modify the response to help bd
% Last Modified by GUIDE v2.5 27-Mar-2011 12:50:08
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @bd_OpeningFcn ...
‘gui_OutputFcn‘ @bd_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin && ischar(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
% --- Executes just before bd is made visible.
function bd_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to bd (see VARARGIN)
% Choose default command line output for bd
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
s=1:1:300;
x1=0.2;
for i=1:300
y1(:i)=x1;
x1=3.45.*x1.*(1-x1);
end
plot(sy1)
set(gca‘xlim‘[1 300]);
% UIWAIT makes bd wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = bd_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hobject eventdata handles)
% hobject
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 183443 2011-04-12 21:16 MATLAB之GUI界面设计\bd.exe
文件 6836 2011-03-27 13:10 MATLAB之GUI界面设计\bd.fig
文件 22376 2011-04-12 21:12 MATLAB之GUI界面设计\bd.m
文件 184213 2011-04-12 21:25 MATLAB之GUI界面设计\sch.exe
文件 7435 2011-03-31 19:27 MATLAB之GUI界面设计\sch.fig
文件 14963 2011-04-12 21:07 MATLAB之GUI界面设计\sch.m
目录 0 2011-04-12 21:26 MATLAB之GUI界面设计
----------- --------- ---------- ----- ----
419266 7
评论
共有 条评论