📄 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','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontSize',14, ...
'ListboxTop',0, ...
'Position',[48.75 191.25 137.25 24], ...
'String','Gaussian parameters', ...
'Style','text', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[12 133.5 201 50.25], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[16.5 171 34.5 11.25], ...
'String','Class 0', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[19.5 153.75 26.25 12.75], ...
'String','Mean:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[47.25 154.5 30.75 12.75], ...
'Style','text', ...
'Tag','txtMean00');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[47.25 139.5 30.75 12.75], ...
'Style','text', ...
'Tag','txtMean01');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[96 158.25 44.25 9.75], ...
'String','Covariance:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[143.25 155.25 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov000');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[177.75 155.25 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov001');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[142.5 137.25 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov010');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[177.75 137.25 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov011');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[12 81.75 201 50.25], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[178.5 84 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov111');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[143.25 84 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov110');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[178.5 102 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov101');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[144 102 30.75 12.75], ...
'Style','text', ...
'Tag','txtCov100');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[96.75 105 44.25 9.75], ...
'String','Covariance:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[47.25 84.75 30.75 12.75], ...
'Style','text', ...
'Tag','txtMean11');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'ListboxTop',0, ...
'Position',[46.5 100.5 30.75 12.75], ...
'Style','text', ...
'Tag','txtMean10');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[18.75 102 27 9.75], ...
'String','Mean:', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'FontWeight','bold', ...
'ListboxTop',0, ...
'Position',[17.25 117.75 34.5 11.25], ...
'String','Class 1', ...
'Style','text', ...
'Tag','StaticText2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'ListboxTop',0, ...
'Position',[12 29.25 201 50.25], ...
'Style','frame', ...
'Tag','Frame1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.87843137254902 0.815686274509804 0.596078431372549], ...
'Callback','close', ...
'ListboxTop',0, ...
'Position',[141.75 3.75 70.5 21.75], ...
'String','OK', ...
'Tag','pshOK');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15.75 61.5 190.5 16.5], ...
'Style','text', ...
'Tag','txtBound1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15.75 45.75 190.5 16.5], ...
'Style','text', ...
'Tag','txtBound2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[15.75 30.75 190.5 16.5], ...
'Style','text', ...
'Tag','txtDiscriminability');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -