資源簡介
K-means聚類的MATLAB實現,GUI界面

代碼片段和文件信息
function?varargout?=?classifier(varargin)
%?CLASSIFIER?M-file?for?classifier.fig
%??????CLASSIFIER?by?itself?creates?a?new?CLASSIFIER?or?raises?the?existing
%??????singleton*.
%
%??????H?=?CLASSIFIER?returns?the?handle?to?a?new?CLASSIFIER?or?the?handle?to
%??????the?existing?singleton*.
%
%??????CLASSIFIER(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?CLASSIFIER.M?with?the?given?input?arguments.
%
%??????CLASSIFIER(‘Property‘‘Value‘...)?creates?a?new?CLASSIFIER?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?classifier_OpeningFunction?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?classifier_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
%?Copyright?2002-2003?The?MathWorks?Inc.
%?Edit?the?above?text?to?modify?the?response?to?help?classifier
%?Last?Modified?by?GUIDE?v2.5?10-Dec-2011?22:25:40
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@classifier_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@classifier_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?classifier?is?made?visible.
function?classifier_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?classifier?(see?VARARGIN)
%?Choose?default?command?line?output?for?classifier
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?UIWAIT?makes?classifier?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?classifier_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;
function?sd1_Callback(hobject?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????21998??2011-12-11?20:00??模式識別大作業\MATLAB程序及代碼\1000組數據.txt
?????文件???????1098??2011-12-09?21:11??模式識別大作業\MATLAB程序及代碼\50組數據.txt
?????文件???????4638??2011-12-18?22:29??模式識別大作業\MATLAB程序及代碼\classifier.fig
?????文件???????9659??2011-12-18?22:33??模式識別大作業\MATLAB程序及代碼\classifier.m
?????文件???????2968??2011-12-09?16:21??模式識別大作業\MATLAB程序及代碼\cskmeans.m
?????文件????????328??2011-12-10?22:02??模式識別大作業\MATLAB程序及代碼\fisher.m
?????文件????????478??2011-12-17?22:51??模式識別大作業\MATLAB程序及代碼\超平面劃分數據.txt
?????目錄??????????0??2011-12-19?12:00??模式識別大作業\MATLAB程序及代碼
?????文件?????215552??2011-12-19?11:58??模式識別大作業\說明文檔.doc
?????目錄??????????0??2012-05-21?12:34??模式識別大作業
-----------?---------??----------?-----??----
???????????????256719????????????????????10
- 上一篇:TV模型的經典修復源代碼
- 下一篇:卡爾曼濾波算法的電池SOC估計仿真模型
評論
共有 條評論