⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chap4a.m

📁 《Wireless Communications and Networking》(《无线通信和网络》)配套MATLAB源码。该书涵盖了第一、二、和三代蜂窝通信系统从物理层到网络层的关键特性。
💻 M
字号:
function fig = chap4a()% 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 chap4ah0 = figure('Units','points', ...	'Color',[0.8 0.8 0.8], ...	'Colormap',mat0, ...	'PointerShapeCData',mat1, ...	'Position',[162.75 66 589.5 457.5], ...	'Tag','Fig1');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[61.5 396.75 475.25 15], ...	'String','P4-17: Adaptive Linear Equalizer', ...	'Style','text', ...	'Tag','StaticText1');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[343.5 171 55 20.25], ...	'String','Normalized fading rate', ...	'Style','text', ...	'Tag','StaticText2');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'ListboxTop',0, ...	'Position',[422.25 174.75 45 15], ...	'String','0.001', ...	'Style','edit', ...	'Tag','vmT');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'ListboxTop',0, ...	'Position',[422.25 202.5 45 15], ...	'String',[' 5dB  ';' 10 dB'], ...	'Style','popupmenu', ...	'Tag','KFactor', ...	'Value',1);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[343.5 201 55 15], ...	'String','k-factor', ...	'Style','text', ...	'Tag','StaticText3');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'Callback','chap4a_func', ...	'ListboxTop',0, ...	'Position',[421.5 114 45 15], ...	'String','Simulate', ...	'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[343.5 228.75 55 15], ...	'String','Tap Number', ...	'Style','text', ...	'Tag','StaticText4');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[343.5 142.5 55 15], ...	'String','Equalization', ...	'Style','text', ...	'Tag','StaticText4');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'ListboxTop',0, ...	'Position',[420.75 143.25 156 15], ...	'String',['Detected decision for equalization error';'Correct decision for equalization error '], ...	'Style','popupmenu', ...	'Tag','DSignal', ...	'Value',1);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[60 326.25 475.25 63.75], ...	'String',mat2, ...	'Style','text', ...	'Tag','StaticText1');h1 = axes('Parent',h0, ...	'CameraUpVector',[0 1 0], ...	'CameraUpVectorMode','manual', ...	'Color',[1 1 1], ...	'ColorOrder',mat3, ...	'Position',mat4, ...	'Tag','Axes1', ...	'XColor',[0 0 0], ...	'YColor',[0 0 0], ...	'ZColor',[0 0 0]);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[0.4971098265895954 -0.07407407407407418 9.160254037844386], ...	'Tag','Axes1Text4', ...	'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[-0.08381502890173409 0.4969135802469136 9.160254037844386], ...	'Rotation',90, ...	'Tag','Axes1Text3', ...	'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','right', ...	'Position',[-0.2803468208092486 1.645061728395062 9.160254037844386], ...	'Tag','Axes1Text2', ...	'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ...	'Color',[0 0 0], ...	'HandleVisibility','off', ...	'HorizontalAlignment','center', ...	'Position',[0.4971098265895954 1.021604938271605 9.160254037844386], ...	'Tag','Axes1Text1', ...	'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'HorizontalAlignment','left', ...	'ListboxTop',0, ...	'Position',[344.25 69 160 25.5], ...	'String','Note: this simulation may take minutes, depending on the number of samples.', ...	'Style','text', ...	'Tag','StaticText5');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'ListboxTop',0, ...	'Position',[423 261.75 45 15], ...	'String','50000', ...	'Style','edit', ...	'Tag','N');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...	'ListboxTop',0, ...	'Position',[343.5 258 55 23.25], ...	'String','Number of Samples', ...	'Style','text', ...	'Tag','StaticText2');h1 = uicontrol('Parent',h0, ...	'Units','points', ...	'BackgroundColor',[1 1 1], ...	'ListboxTop',0, ...	'Position',[423 229.5 45 15], ...	'String','5', ...	'Style','edit', ...	'Tag','TapNum');if nargout > 0, fig = h0; end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -