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

📄 swsexpogui.m

📁 非常好的数字处理教程
💻 M
📖 第 1 页 / 共 3 页
字号:
'TickDirMode','manual',...
'XColor',get(0,'defaultaxesXColor'),...
'XLim',get(0,'defaultaxesXLim'),...
'XLimMode','manual',...
'XTick',[0 0.2 0.4 0.6 0.8 1],...
'XTickLabel',{ '0  ' '0.2' '0.4' '0.6' '0.8' '1  ' },...
'XTickLabelMode','manual',...
'XTickMode','manual',...
'YColor',get(0,'defaultaxesYColor'),...
'YLim',get(0,'defaultaxesYLim'),...
'YLimMode','manual',...
'YTick',[0 0.2 0.4 0.6 0.8 1],...
'YTickLabel',{ '0  ' '0.2' '0.4' '0.6' '0.8' '1  ' },...
'YTickLabelMode','manual',...
'YTickMode','manual',...
'ZColor',get(0,'defaultaxesZColor'),...
'ZLim',get(0,'defaultaxesZLim'),...
'ZLimMode','manual',...
'ZTick',[0 0.5 1],...
'ZTickLabel','',...
'ZTickLabelMode','manual',...
'ZTickMode','manual',...
'Tag','timeplot',...
'UserData',zeros(1,0));


h8 = get(h7,'title');

set(h8,...
'Parent',h7,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[0.496575342465753 1.04452054794521 1.00005459937205],...
'VerticalAlignment','bottom',...
'HandleVisibility','off');

h9 = get(h7,'xlabel');

set(h9,...
'Parent',h7,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[0.496575342465753 -0.160958904109589 1.00005459937205],...
'VerticalAlignment','cap',...
'HandleVisibility','off');

h10 = get(h7,'ylabel');

set(h10,...
'Parent',h7,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[-0.195205479452055 0.48972602739726 1.00005459937205],...
'Rotation',90,...
'VerticalAlignment','bottom',...
'HandleVisibility','off');

h11 = get(h7,'zlabel');

set(h11,...
'Parent',h7,...
'Color',[0 0 0],...
'HorizontalAlignment','right',...
'Position',[-0.565068493150685 1.45547945205479 1.00005459937205],...
'HandleVisibility','off',...
'Visible','off');

h12 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''dBcheckbox_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[157.4 14.3846153846154 7.2 1.46153846153846],...
'String','dB',...
'Style','checkbox',...
'Value',1,...
'Tag','dBcheckbox',...
'UserData',zeros(1,0));


h13 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''zoomreset_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[174.4 8.23076923076923 13 1.46153846153846],...
'String','Zoom Reset',...
'Tag','zoomreset',...
'UserData',zeros(1,0));


h14 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''play_original_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[145 8.23076923076923 10 1.46153846153846],...
'String','Play',...
'Tag','play_original',...
'UserData',zeros(1,0));


h15 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'BackgroundColor',[1 1 1],...
'Callback','swsexpogui(''fftsize_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[184 16.9230769230769 18 1.46153846153846],...
'String',{ '64' '128' '256' '512' '1024' '2048' '4096' '8192' '16384' '32768' },...
'Style','popupmenu',...
'Value',4,...
'CreateFcn','swsexpogui(''fftsize_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','fftsize',...
'UserData',zeros(1,0));


h16 = axes(...
'Parent',h1,...
'Units','characters',...
'ALim',get(0,'defaultaxesALim'),...
'ALimMode','manual',...
'CameraPosition',[0.5 0.5 9.16025403784439],...
'CameraPositionMode','manual',...
'CameraTarget',[0.5 0.5 0.5],...
'CameraTargetMode','manual',...
'CameraUpVector',[0 1 0],...
'CameraUpVectorMode','manual',...
'CameraViewAngle',6.60861036031192,...
'CameraViewAngleMode','manual',...
'CLim',get(0,'defaultaxesCLim'),...
'CLimMode','manual',...
'Color',get(0,'defaultaxesColor'),...
'ColorOrder',get(0,'defaultaxesColorOrder'),...
'DataAspectRatio',get(0,'defaultaxesDataAspectRatio'),...
'DataAspectRatioMode','manual',...
'PlotBoxAspectRatio',get(0,'defaultaxesPlotBoxAspectRatio'),...
'PlotBoxAspectRatioMode','manual',...
'Position',[16.8 20.6153846153846 125 30],...
'TickDir',get(0,'defaultaxesTickDir'),...
'TickDirMode','manual',...
'XColor',get(0,'defaultaxesXColor'),...
'XLim',get(0,'defaultaxesXLim'),...
'XLimMode','manual',...
'XTick',[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1],...
'XTickLabel',{ '0  ' '0.1' '0.2' '0.3' '0.4' '0.5' '0.6' '0.7' '0.8' '0.9' '1  ' },...
'XTickLabelMode','manual',...
'XTickMode','manual',...
'YColor',get(0,'defaultaxesYColor'),...
'YLim',get(0,'defaultaxesYLim'),...
'YLimMode','manual',...
'YTick',[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1],...
'YTickLabel',{ '0  ' '0.1' '0.2' '0.3' '0.4' '0.5' '0.6' '0.7' '0.8' '0.9' '1  ' },...
'YTickLabelMode','manual',...
'YTickMode','manual',...
'ZColor',get(0,'defaultaxesZColor'),...
'ZLim',get(0,'defaultaxesZLim'),...
'ZLimMode','manual',...
'ZTick',[0 0.5 1],...
'ZTickLabel','',...
'ZTickLabelMode','manual',...
'ZTickMode','manual',...
'Tag','specplot',...
'UserData',zeros(1,0));


h17 = get(h16,'title');

set(h17,...
'Parent',h16,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[0.497237569060773 1.0207182320442 1.00005459937205],...
'VerticalAlignment','bottom',...
'HandleVisibility','off');

h18 = get(h16,'xlabel');

set(h18,...
'Parent',h16,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[0.497237569060773 -0.0621546961325967 1.00005459937205],...
'VerticalAlignment','cap',...
'HandleVisibility','off');

h19 = get(h16,'ylabel');

set(h19,...
'Parent',h16,...
'Color',[0 0 0],...
'HorizontalAlignment','center',...
'Position',[-0.0662983425414364 0.498618784530387 1.00005459937205],...
'Rotation',90,...
'VerticalAlignment','bottom',...
'HandleVisibility','off');

h20 = get(h16,'zlabel');

set(h20,...
'Parent',h16,...
'Color',[0 0 0],...
'HorizontalAlignment','right',...
'Position',[-0.350828729281768 1.03729281767956 1.00005459937205],...
'HandleVisibility','off',...
'Visible','off');

h21 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'BackgroundColor',[1 1 1],...
'Callback','swsexpogui(''Window_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[163.8 16.9230769230769 18 1.46153846153846],...
'String',{ 'Hann' 'Rectangle' 'Triangle' 'Hamming' 'Kaiser' 'Bartlett' 'Blackman-Harris' 'Gaussian' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','swsexpogui(''Window_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','Window',...
'UserData',zeros(1,0));


h22 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'FontSize',14,...
'FontWeight','bold',...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[145.4 2 54.6 2.30769230769231],...
'String','Sinewave Speech Explorer',...
'Style','text',...
'Tag','text3');


h23 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'BackgroundColor',[1 1 1],...
'Callback','swsexpogui(''colormap_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[143.8 16.9230769230769 18 1.46153846153846],...
'String',{ 'Jet' 'Bone' 'HSV' 'Gray' 'Hot' 'Cool' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','swsexpogui(''colormap_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','colormap',...
'UserData',zeros(1,0));


h24 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''inverse_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[144 14.3846153846154 12.4 1.46153846153846],...
'String','Inverse',...
'Style','checkbox',...
'Tag','inverse',...
'UserData',zeros(1,0));


h25 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'FontSize',12,...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[163.8 18.6923076923077 13.8 1.76923076923077],...
'String','Window',...
'Style','text',...
'Tag','text4');


h26 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'FontSize',12,...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[184.2 18.6923076923077 15.6 1.76923076923077],...
'String','FFT Size',...
'Style','text',...
'Tag','text5');


h27 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'FontSize',12,...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[143.8 18.6923076923077 16.6 1.76923076923077],...
'String','Colormap',...
'Style','text',...
'Tag','text6');


h28 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[160 0.615384615384615 40 1.38461538461538],...
'String','by Bob L. Sturm and Dr. Jerry Gibson',...
'Style','text',...
'Tag','text8');


h29 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''interpolate_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...
'ListboxTop',0,...
'Position',[143.8 11.8461538461538 15.4 1.46153846153846],...
'String','Interpolate',...
'Style','checkbox',...
'Tag','interpolate',...
'UserData',zeros(1,0));


h30 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[159.8 11.6153846153846 36.6 1.53846153846154],...
'String','WARNING: This could take a while.',...
'Style','text',...
'Tag','text9');


h31 = uicontrol(...
'Parent',h1,...
'Units','characters',...
'Callback','swsexpogui(''f1_box_Callback'',gcbo,[],guidata(gcbo))',...
'CData',zeros(1,0),...

⌨️ 快捷键说明

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