📄 soj_req_driver.m
字号:
function fig = soj_req_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 soj_req_driver
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','C:\RSA\chap1\programs1\soj_req_driver.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[517 214 458 467], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[18 243.75 92.25 20.25], ...
'String','radar peak power - KW', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat1, ...
'ListboxTop',0, ...
'Position',[110.25 243.75 56.25 19.5], ...
'String','50e3', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat2, ...
'ListboxTop',0, ...
'Position',[109.5 204 56.25 19.5], ...
'String','35', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[17.25 204 92.25 20.25], ...
'String','radar antenna gain - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[15.75 126 92.25 20.25], ...
'String','radar bandwidth - Hz', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat3, ...
'ListboxTop',0, ...
'Position',[108 126 56.25 19.5], ...
'String','667e3', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat4, ...
'ListboxTop',0, ...
'Position',[108.75 165.75 56.25 19.5], ...
'String','10', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[16.5 165.75 92.25 20.25], ...
'String','target RCS - m squre', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[17.25 52.5 92.25 20.25], ...
'String','radar losses - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat5, ...
'ListboxTop',0, ...
'Position',[109.5 52.5 56.25 19.5], ...
'String','0.01', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','freq = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[109.5 92.25 56.25 19.5], ...
'String','3.6e9', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[17.25 92.25 92.25 20.25], ...
'String','frequency - Hz', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[188.25 90.75 92.25 20.25], ...
'String','jammer losses - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat6, ...
'ListboxTop',0, ...
'Position',[280.5 91.5 56.25 19.5], ...
'String','.01', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat7, ...
'ListboxTop',0, ...
'Position',[280.5 51 56.25 19.5], ...
'String','10', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[188.25 51 92.25 20.25], ...
'String','radar to jammer gain - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[187.5 164.25 92.25 20.25], ...
'String','jammer bandwidth - Hz', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat8, ...
'ListboxTop',0, ...
'Position',[279.75 164.25 56.25 19.5], ...
'String','50e6', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat9, ...
'ListboxTop',0, ...
'Position',[279 124.5 56.25 19.5], ...
'String','30', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[186.75 124.5 92.25 20.25], ...
'String','jammer antenna gain - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[188.25 202.5 92.25 20.25], ...
'String','jammer peak power - KW', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat10, ...
'ListboxTop',0, ...
'Position',[280.5 202.5 56.25 19.5], ...
'String','5e3', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat11, ...
'ListboxTop',0, ...
'Position',[281.25 243 56.25 19.5], ...
'String','37', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[189 242.25 92.25 20.25], ...
'String','range to target - Km', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','rangej = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[205.5 17.25 56.25 19.5], ...
'String','22.22', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[113.25 17.25 92.25 20.25], ...
'String','range to jammer - Km', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'Callback',mat12, ...
'ListboxTop',0, ...
'Position',[54.75 318 76.5 21.75], ...
'String','Go', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback',mat13, ...
'ListboxTop',0, ...
'Position',[223.5 315.75 76.5 21.75], ...
'String','Quit', ...
'Tag','Pushbutton2');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -