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

📄 sphelpstr.m

📁 matlabDigitalSigalProcess内有文件若干
💻 M
📖 第 1 页 / 共 2 页
字号:
'typing in a number.'
};

case 'rulerbox2'
str{1,1} = 'RULER 2';
str{1,2} = {
'For Vertical, Track and Slope modes:'
'  Change the value in this box to set the x-location of Ruler 2.'
' '
'For Horizontal mode:'
'  Change the value in this box to set the y-location of Ruler 2.'
' '
'When you drag Ruler 2 with the mouse, the value in this box changes '
'correspondingly.'
};

case {'y2label','y2text'}
str{1,1} = 'Y2';
str{1,2} = {
'This is the Y2 value of Ruler 2.  '
' '
'In Track and Slope Ruler modes, y2 is the value of the spectrum in the '
'main axes that is being tracked by Ruler 2 (designated by (line) Selection).'
' '
'In Horizontal Ruler mode, you can enter a value in the box labeled y2 to '
'change the position of the Ruler.'
};

case {'dxlabel','dxtext'}
str{1,1} = 'DX';
str{1,2} = {
'Delta X value.  This is the value of x2 - x1.'
};

case {'dylabel','dytext'}
str{1,1} = 'DY';
str{1,2} = {
'Delta Y value.  This is the value of y2 - y1.'
};

case {'dydxtext','dydxlabel'}
str{1,1} = 'DYDX';
str{1,2} = {
'Delta Y / Delta X value.  This is the value of dy / dx.'
};

case 'ruler:peaks'
str{1,1} = 'PEAKS';
str{1,2} = {
' '
'Click on this button to see all the local maxima of the currently selected'
'spectrum.  Change which spectrum is selected by clicking on its waveform in'
'the main axes, or by choosing it in the (line) Selection popup menu'
'directly above the rulers.'
' '
'In track and slope mode, the rulers are constrained to the peaks in this '
'mode.  In vertical mode, the peaks are only visual and do not affect the '
'behavior of the rulers.'
' '
'It is possible to display both the peaks and valleys at the same time.'
};

case 'ruler:valleys'
str{1,1} = 'VALLEYS';
str{1,2} = {
' '
'Click on this button to see all the local minima of the currently selected'
'spectrum.  Change which spectrum is selected by clicking on its waveform in'
'the main axes, or by choosing it in the (line) Selection popup menu'
'directly above the rulers.'
' '
'In track and slope mode, the rulers are constrained to the valleys in this '
'mode.  In vertical mode, the valleys are only visual and do not affect the '
'behavior of the rulers.'
' '
'It is possible to display both the peaks and valleys at the same time.'
};

case 'saverulerbutton'
str{1,1} = 'SAVE RULERS';
str{1,2} = {
' '
'Clicking this button displays a dialogue box which allows you to enter a '
'variable name to save a structure in the MATLAB workspace with the fields '
'x1, y1, x2, y2, dx, dy, dydx, peaks, and valleys.'
' '
'Any undefined values will be set to NaN.'
};

case 'closemenu'
str{1,1} = 'CLOSE MENU';
str{1,2} = {
'Select this menu to close the Spectrum Viewer.  All spectrum selection and '
'ruler information will be lost.  Any Settings you changed and saved with '
'the Preferences window of the SPTool will be retained the next time you '
'open a Spectrum Viewer.'
};

case {'signalLabel','siginfo1Label','siginfo2Label','signalFrame'}
str{1,1} = 'SIGNAL INFO';
str{1,2} = {
' '
'This frame displays information about the signal linked to the currently '
'selected spectrum.  The information includes the signal''s name, size, real '
'or complex, and sampling frequency.  To change any of these signal '
'properties, use the SPTool.  '
' '
'To assign a completely new signal to this spectrum, click on a signal in '
'the SPTool and click the "Update" button under Spectra.'
};

case 'propFrame'
str{1,1} = 'SPECTRUM PROPERTIES';
str{1,2} = {
' '
'The controls in this frame allow you to modify the properties of a '
'spectrum.'
};

case 'revertButton'
str{1,1} = 'REVERT';
str{1,2} = {
' '
'Press this button to restore the properties of the current spectrum to '
'what they were the last time the Apply button was pressed.'
};

case 'applyButton'
str{1,1} = 'APPLY';
str{1,2} = {
' '
'Press this button to compute the spectrum of the current object using the '
'parameters set above.'
};

case {'dbMag','linearMag'}
str{1,1} = 'MAG SCALING';
str{1,2} = {
' '
'You can choose a scaling for the magnitude plot (linear, log, or decibels) '
'by choosing from this menu.'
};

case {'half','whole','negative'}
str{1,1} = 'RANGE';
str{1,2} = {
'You can choose the range for the frequency axis by selecting this menu.  '
'The options are [0, Fs/2], [0, Fs], and [-Fs/2, Fs/2], where Fs in the '
'sampling frequency.  '
' '
'If multiple spectra are displayed, Fs is chosen as the maximum of all the '
'sampling frequencies.  '
' '
'Fs is not defined for the case of a spectrum whos signal is ''<None>''; a '
'value of twice the highest magnitude frequency in the spectrum''s frequency '
'vector is chosen in this case.'
' '
'The frequency range cannot be negative if you choose logarithmic frequency '
'axis scaling.'
};

case {'linearFreq','logFreq'}
str{1,1} = 'FREQ. SCALING';
str{1,2} = {
'You can choose the scaling for the frequency axis (linear or log) by '
'selecting the appropriate option from this popup menu.'
' '
'The frequency range cannot be negative if you choose logarithmic frequency '
'axis scaling.'
};

case 'mainaxestitle'
str{1,1} = 'TITLE';
str{1,2} = {
' '
'This title displays the name of the currently selected spectrum.  All '
'changes to the properties on the left will affect this spectrum when you '
'hit the Apply button.  The rulers measure this spectrum in track and slope '
'modes.'
};

case {'mainaxes','mainaxesxlabel'}
str{1,1} = 'MAIN AXES';
str{1,2} = {
' '
'This is the main axes of the Spectrum Viewer.  The spectral data of all '
'the spectra selected in the list of Spectra in the SPTool are displayed '
'here graphically.  Note that some spectra might not show up because you '
'need to hit the "Apply" button to recompute the spectral data.'
};

case {'paramLabel','paramFrame'}
str{1,1} = 'PARAMETERS';
str{1,2} = {
' '
'Change the parameters for the spectrum in this frame.'
};

case 'inheritPopup'
str{1,1} = 'INHERIT';
str{1,2} = {
' '
'By choosing a spectrum from this menu, you can inherit the parameters (not '
'including the signal) from another spectrum in the SPTool.'
};

case {'confidenceEdit','confidenceCheckbox'}
str{1,1} = 'CONFIDENCE';
str{1,2} = {
' '
'Click this checkbox to obtain a confidence interval for the spectrum. '
'Enter a number between 0 and 1 for the confidence interval in this box. '
'Confidence intervals are a method dependent computation.  '
};


otherwise
    i = [];
    if strncmp(tag,'uicontrol',9)
        i = str2num(tag(10:end));
    elseif strncmp(tag,'label',5)
        i = str2num(tag(6:end));
    end
    ud = get(fig,'userdata');
    if ~isempty(i)
    % display help for this uicontrol
        methodNum = get(ud.hand.methodPopup,'value');
        N = length(ud.methods(methodNum).subordinates);
        subVal = [];
        for j=1:N
            subs = ud.methods(methodNum).subordinates{j};
            if ~isempty(subs) & ~isempty(find(subs==i))
                subVal = [subVal get(ud.hand.uicontrol(j),'value')];
            end
        end
        if isempty(subVal)
            introStr = ['You have clicked on the "' ...
                      ud.methods(methodNum).label{i} ...
                      '" parameter of the "' ...
                      ud.methods(methodNum).methodName '" method.'];
            str{1,2} = {introStr ' ' ...
                        ud.methods(methodNum).helpString{i}{:}};
        else
            introStr = ['You have clicked on the "' ...
                      ud.methods(methodNum).label{i}{subVal(1)} ...
                      '" parameter of the "' ...
                      ud.methods(methodNum).methodName '" method.'];
            str{1,2} = {introStr ' ' ...
                        ud.methods(methodNum).helpString{i}{subVal(1)}{:}};
        end
    elseif strcmp(tag,'methodLabel') | strcmp(tag,'methodPopup')
        methodStr = strcat({ud.methods.methodName},',	');
        methodStr = [methodStr{:}];
        methodStr(end-1:end) = [];
        str{1,1} = 'Method Selection';
        str{1,2} = {
 'Select a method for the current Spectrum with this popup menu.'
 ' '
 'The currently available methods are:'
 methodStr
 ' '
 'To get a brief description of one of these methods, select it under ''Topics''.'
 ' '
 'For more detailed information, see the Reference section of the User''s Manual.'
  };
        for i = 1:length(ud.methods)
            str{1+i,1} = ud.methods(i).methodName;
            str{1+i,2} = ud.methods(i).methodHelp;
        end
    else % must be the spectrum
    
        str{1,1} = 'SPECTRUM DATA';
        str{1,2} = {
    'You have clicked on a line in the main axes.  The line you clicked'
    'corresponds to the SPTool spectrum'
    ['  ''' tag '''']
    ' '
    'You can change the parameters of this spectrum by clicking on it.'
    ' '
    'CLICK-AND-DRAG PANNING'
    ' '
    'If you click on a line in the main axes and hold down the button,'
    'you can pan around the main axes display using the clicked point'
    'as a center simply by dragging the mouse.  Note that this feature'
    'is not enabled in mouse zoom mode.'
     };
   
    end
    
end

⌨️ 快捷键说明

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