📄 hprf_req_driver.m
字号:
function fig = hprf_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 hprf_req_driver
h0 = figure('Color',[0.8 0.8 0.8], ...
'Colormap',mat0, ...
'FileName','C:\RSA\chap1\programs1\hprf_req_driver.m', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[422 89 560 601], ...
'Tag','Fig1', ...
'ToolBar','none');
h1 = axes('Parent',h0, ...
'Units','pixels', ...
'Box','on', ...
'CameraUpVector',[0 1 0], ...
'Color',[1 1 1], ...
'ColorOrder',mat1, ...
'Position',[52.99999999999999 302 396.9999999999999 273.9999999999999], ...
'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','Axes1Line3', ...
'XData',mat2, ...
'YData',mat3);
h2 = line('Parent',h1, ...
'Color',[0 0.5 0], ...
'Tag','Axes1Line2', ...
'XData',mat4, ...
'YData',mat5);
h2 = line('Parent',h1, ...
'Color',[1 0 0], ...
'Tag','Axes1Line1', ...
'XData',mat6, ...
'YData',mat7);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[54.77272727272727 -8.956043956043956 17.32050807568877], ...
'String','Range - Km', ...
'Tag','Axes1Text4', ...
'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','center', ...
'Position',[4.318181818181818 17.25274725274725 17.32050807568877], ...
'Rotation',90, ...
'String','SNR - dB', ...
'Tag','Axes1Text3', ...
'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
'Color',[0 0 0], ...
'HandleVisibility','off', ...
'HorizontalAlignment','right', ...
'Position',[-2.045454545454545 44.12087912087912 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',[54.77272727272727 41.15384615384615 17.32050807568877], ...
'Tag','Axes1Text1', ...
'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[38.25 150 92.25 20.25], ...
'String','frequency - Hz', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat8, ...
'ListboxTop',0, ...
'Position',[131.25 150.75 57 18.75], ...
'String','5.6e9', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','g = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[129.75 119.25 57 18.75], ...
'String','20', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[36.75 118.5 92.25 20.25], ...
'String','antenna gain - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat9, ...
'ListboxTop',0, ...
'Position',[130.5 91.5 57 18.75], ...
'String','0.01', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[37.5 90.75 92.25 20.25], ...
'String','RCS - m square', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat10, ...
'ListboxTop',0, ...
'Position',[130.5 59.25 57 18.75], ...
'String','.3', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[37.5 58.5 92.25 20.25], ...
'String','duty cycle ', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat11, ...
'ListboxTop',0, ...
'Position',[131.25 28.5 57 18.75], ...
'String','2', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[37.5 27.75 92.25 20.25], ...
'String','time on target - sec', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat12, ...
'ListboxTop',0, ...
'Position',[130.5 175.5 57 18.75], ...
'String','100e3', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[37.5 175.5 92.25 20.25], ...
'String','peak power - KW', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','range = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[336 27 57 18.75], ...
'String','50', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'ListboxTop',0, ...
'Position',[243.75 26.25 92.25 20.25], ...
'String','range - Km', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[242.25 174.75 92.25 20.25], ...
'String','Te - Kelvin', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','te = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[335.25 176.25 57 18.75], ...
'String','400', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[242.25 58.5 92.25 20.25], ...
'String','pulse width - sec', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','tau = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[335.25 59.25 57 18.75], ...
'String','0', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[242.25 90.75 92.25 20.25], ...
'String','PRF - Hz', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback','prf = str2num(get(gco,''string''));', ...
'ListboxTop',0, ...
'Position',[335.25 91.5 57 18.75], ...
'String','0', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[241.5 118.5 92.25 20.25], ...
'String','losses - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat13, ...
'ListboxTop',0, ...
'Position',[334.5 120 57 18.75], ...
'String','8', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'Callback',mat14, ...
'ListboxTop',0, ...
'Position',[336 151.5 57 18.75], ...
'String','5', ...
'Style','edit', ...
'Tag','EditText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'ListboxTop',0, ...
'Position',[243 150 92.25 20.25], ...
'String','noise figure - dB', ...
'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'Callback',mat15, ...
'ListboxTop',0, ...
'Position',[369.75 375 42 19.5], ...
'String','Go', ...
'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
'Callback','close all', ...
'ListboxTop',0, ...
'Position',[370.5 338.25 42 19.5], ...
'String','Quit', ...
'Tag','Pushbutton2');
if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -