📄 met2char.m
字号:
function fig = met2char()
% 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.
%
% 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.
load met2char
h0 = figure('Units','points', ...
'Color',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'Colormap',mat0, ...
'MenuBar','none', ...
'Name','Two-Characteristics Method', ...
'NumberTitle','off', ...
'PointerShapeCData',mat1, ...
'Position',[98.25 29.25 444 401.25], ...
'Resize','off', ...
'Tag','OknoM2Ch');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'FontAngle','oblique', ...
'FontName','Arial', ...
'FontSize',24, ...
'ForegroundColor',[1 0 0], ...
'ListboxTop',0, ...
'Position',[3 362.25 438.75 30], ...
'String','Two-Characteristics Method', ...
'Style','text', ...
'Tag','HlavnyTitulok');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'FontAngle','italic', ...
'FontSize',12, ...
'ListboxTop',0, ...
'Position',[2.25 347.25 440.25 16.5], ...
'String',mat2, ...
'Style','text', ...
'Tag','Podnadpis');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[161.25 261 258.75 72.75], ...
'Style','frame', ...
'Tag','Ram1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[170.25 327.75 156 12], ...
'String','Parameters of the linear part of the system', ...
'Style','text', ...
'Tag','LinearText');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat3, ...
'ListboxTop',0, ...
'Position',[279.75 304.5 127.5 15], ...
'Style','edit', ...
'Tag','EditCitatel');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat4, ...
'ListboxTop',0, ...
'Position',[280.5 285 127.5 15], ...
'Style','edit', ...
'Tag','EditMenovatel');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[169.5 285.75 97.5 12.75], ...
'String','Denominator coefficients:', ...
'Style','text', ...
'Tag','MenovText');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[168 304.5 93 12.75], ...
'String','Numerator coefficients:', ...
'Style','text', ...
'Tag','CitText');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[166.5 264.75 106.5 15], ...
'String','Frequency range (omega):', ...
'Style','text', ...
'Tag','TextRozsah');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat5, ...
'ListboxTop',0, ...
'Position',[299.25 265.5 22.5 15], ...
'Style','edit', ...
'Tag','EditOd');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat6, ...
'ListboxTop',0, ...
'Position',[339 265.5 22.5 15], ...
'Style','edit', ...
'Tag','EditDo');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat7, ...
'ListboxTop',0, ...
'Position',[385.5 265.5 22.5 15], ...
'Style','edit', ...
'Tag','EditKrok');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[278.25 266.25 18 12], ...
'String','from:', ...
'Style','text', ...
'Tag','TextOd');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[324 268.5 13.5 10.5], ...
'String','to:', ...
'Style','text', ...
'Tag','TextDo');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[363 267.75 21 11.25], ...
'String','step:', ...
'Style','text', ...
'Tag','TextKrok');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[161.25 174 260.25 72.75], ...
'Style','frame', ...
'Tag','Ram2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[173.25 240.75 141 11.25], ...
'String','Describing function of the nonlinearity', ...
'Style','text', ...
'Tag','NelinearText');
h1 = axes('Parent',h0, ...
'Units','pixels', ...
'Box','on', ...
'CameraUpVector',[0 1 0], ...
'CameraUpVectorMode','manual', ...
'Color',[1 1 1], ...
'ColorOrder',mat8, ...
'Layer','top', ...
'Position',[17 244 188 74], ...
'Tag','NelinObr', ...
'Visible','off', ...
'XColor',[0 0 0], ...
'XLim',[0.5 297.5], ...
'XLimMode','manual', ...
'YColor',[0 0 0], ...
'YDir','reverse', ...
'YLim',[0.5 327.5], ...
'YLimMode','manual', ...
'ZColor',[0 0 0]);
h2 = image('Parent',h1, ...
'CData',mat9, ...
'Tag','Image2', ...
'XData',[1 297], ...
'YData',[1 327]);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[148.2058823529412 435.0068493150686 9.160254037844386], ...
'Tag','Text8', ...
'VerticalAlignment','cap', ...
'Visible','off');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[-50.3235294117647 170.7191780821918 9.160254037844386], ...
'Rotation',90, ...
'Tag','Text7', ...
'VerticalAlignment','baseline', ...
'Visible','off');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-26.5 -971.5410958904108 9.160254037844386], ...
'Tag','Text6', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[148.2058823529412 -30.85616438356158 9.160254037844386], ...
'Tag','Text5', ...
'VerticalAlignment','bottom', ...
'Visible','off');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat10, ...
'ListboxTop',0, ...
'Position',[282 216.75 127.5 15], ...
'String',[' Ideal relay ';' Relay with dead-zone ';' Relay with hysteresis';' Saturation '], ...
'Style','popupmenu', ...
'Tag','MenuDruhNel', ...
'Value',1);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[175.5 217.5 63.75 12.75], ...
'String','Nonlinearity type:', ...
'Style','text', ...
'Tag','TextDruhNel');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[176.25 198 84.75 13.5], ...
'String','Nonlinearity parameters:', ...
'Style','text', ...
'Tag','TextParamNelin');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat11, ...
'ListboxTop',0, ...
'Position',[303 198 37.5 15], ...
'Style','edit', ...
'Tag','EditK');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat12, ...
'ListboxTop',0, ...
'Position',[368.25 198 41.25 15], ...
'Style','edit', ...
'Tag','EditB');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[281.25 198 21.75 12.75], ...
'String','K = ', ...
'Style','text', ...
'Tag','TextK');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[345.75 196.5 21.75 14.25], ...
'String','B = ', ...
'Style','text', ...
'Tag','TextB');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[167.25 182.25 78.75 12], ...
'String','Amplitude range:', ...
'Style','text', ...
'Tag','TextRozsahA');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat13, ...
'ListboxTop',0, ...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -