www.gusucode.com > classification_matlab_toolbox分类方法工具箱源码程序 > code/Classification_toolbox/GaussianParameters.m

    function fig = GaussianParameters2()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load GaussianParameters

h0 = figure('Units','characters', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'FileName','D:\Users\elad\HW\Classification_toolbox\GaussianParameters2.m', ...
	'PaperPosition',[62 24 60 23], ...
	'PaperUnits','points', ...
	'Position',[62 24 60 23], ...
   'Tag','FindParameters', ...
   'MenuBar','none', ...   
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'FontSize',14, ...
	'ListboxTop',0, ...
	'Position',[2 18 60 3], ...
	'String','Gaussian parameters', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'ListboxTop',0, ...
	'Position',[3 13.75 54 5], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'HorizontalAlignment','left', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[5 17.5 20 1], ...
	'String','Class 0', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[5 16 10 1], ...
	'String','Mean:', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[12.75 15.75 8 1.25], ...
	'Style','text', ...
	'Tag','txtMean00');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[12.75 14.25 8 1.25], ...
	'Style','text', ...
	'Tag','txtMean01');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'ListboxTop',0, ...
	'Position',[26 15.75 12 1.25], ...
	'String','Covariance:', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[38 15.75 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov000');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[47.5 15.75 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov001');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[38 14.25 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov010');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[47.5 14.25 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov011');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'ListboxTop',0, ...
	'Position',[3 8.5 54 5], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[5 12.25 20 1], ...
	'String','Class 1', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[5 10.75 10 1], ...
	'String','Mean:', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[12.75 10.5 8 1.25], ...
	'Style','text', ...
	'Tag','txtMean10');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[12.75 9 8 1.25], ...
	'Style','text', ...
	'Tag','txtMean11');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'ListboxTop',0, ...
	'Position',[26 10.75 12 1.25], ...
	'String','Covariance:', ...
	'Style','text', ...
	'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[38 10.75 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov100');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[47.5 10.75 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov101');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[38 9 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov110');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'ListboxTop',0, ...
	'Position',[47.5 9 8 1.25], ...
	'Style','text', ...
	'Tag','txtCov111');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'ListboxTop',0, ...
	'Position',[3 3 54 5.25], ...
	'Style','frame', ...
	'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
	'Callback','close', ...
	'ListboxTop',0, ...
	'Position',[45 0.5 12 2], ...
	'String','OK', ...
	'Tag','pshOK');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[4 6.25 50 1.5], ...
	'Style','text', ...
	'Tag','txtBound1');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[4 4.75 50 1.5], ...
	'Style','text', ...
	'Tag','txtBound2');
h1 = uicontrol('Parent',h0, ...
	'Units','characters', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'ListboxTop',0, ...
	'Position',[4 3.25 50 1.5], ...
	'Style','text', ...
	'Tag','txtDiscriminability');
if nargout > 0, fig = h0; end