📄 rcs_ellipsoid_gui.m
字号:
function fig = rcs_ellipsoid_driver()
% 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 rcs_ellipsoid_driver
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','C:\RSA\chap2\programs\rcs_ellipsoid_driver.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[421 195 560 486], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = axes('Parent',h0, ...
'Units','pixels', ...
'Box','on', ...
'CameraUpVector',[0 1 0], ...
'Color',[1 1 1], ...
'ColorOrder',mat1, ...
'Position',[52 176 398 275], ...
'Tag','Axes1', ...
'XColor',[0 0 0], ...
'XGrid','on', ...
'YColor',[0 0 0], ...
'YGrid','on', ...
'ZColor',[0 0 0], ...
'ZGrid','on');
h2 = line('Parent',h1, ...
'Color',[0 0 1], ...
'Tag','Axes1Line1', ...
'XData',mat2, ...
'YData',mat3);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[89.77329974811083 -27.62773722627738 17.32050807568877], ...
'String','Aspect angle - degrees', ...
'Tag','Axes1Text4', ...
'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',mat4, ...
'Rotation',90, ...
'String','RCS - dBsm', ...
'Tag','Axes1Text3', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-23.57682619647355 8.832116788321166 17.32050807568877], ...
'Tag','Axes1Text2', ...
'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[89.77329974811083 5.766423357664234 17.32050807568877], ...
'Tag','Axes1Text1', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback','[rcs_db] = rcs_ellipsoid (a, b, c, phi);', ...
'ListboxTop',0, ...
'Position',[357 280.5 37.5 18.75], ...
'String','Go', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'Callback',mat5, ...
'ListboxTop',0, ...
'Position',[357.75 253.5 37.5 18.75], ...
'String','Quit', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[18.75 75.75 112.5 18.75], ...
'String','ellipsoid a-radius - m', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','a = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[132 74.25 56.25 21.75], ...
'String','.25', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat6, ...
'ListboxTop',0, ...
'Position',[132 34.5 56.25 21.75], ...
'String','.20', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[18.75 36 112.5 18.75], ...
'String','ellipsoid b-radius - m', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[224.25 34.5 112.5 18.75], ...
'String','roll angle - deg.', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat7, ...
'ListboxTop',0, ...
'Position',[338.25 33 56.25 21.75], ...
'String','45.', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','c = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[338.25 72.75 56.25 21.75], ...
'String','.995', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[225 74.25 112.5 18.75], ...
'String','ellipsoid c-radius - m', ...
'Tag','Pushbutton2');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -