Signal Processing Toolbox |
Multiple signal classification spectrum
Syntax
Hs = spectrum.music Hs = spectrum.music(NSinusoids) Hs = spectrum.music(NSinusoids,SegmentLength) Hs = spectrum.music(...,OverlapPercent) Hs = spectrum.music(...,WindowName) Hs = spectrum.music(...,SubspaceThreshold) Hs = spectrum.music(...,FFTLength) Hs = spectrum.music(...,InputType)
Description
Hs = spectrum.music
returns a default multiple signal classification (MUSIC) spectrum object, Hs
, that defines the parameters for the MUSIC spectral estimation algorithm, which uses Schmidt's eigenspace analysis algorithm. This object uses the following default values.
Property Name |
Default Value |
Description |
NSinusoids |
2 |
Number of complex sinusoids |
SegmentLength |
4 |
Segment length |
OverlapPercent |
50 |
Percent overlap between segments |
WindowName |
'Rectangular' |
Window name string or 'User Defined' (see window for valid window names). For more information on each window, refer to its reference page).This argument can also be a cell array containing the window name string or 'User Defined' and, if used for the particular window, an optional parameter value. The syntax is {wname,wparam} .You can use set to change the value of the additional parameter or to define the MATLAB expression and parameters for a user-defined window (see spectrum for information on using set ). |
SubspaceThreshold |
0 |
Threshold is the cutoff for signal and noise separation. The threshold is multiplied by min , the smallest estimated eigenvalue of the signal's correlation matrix. Eigenvalues below the threshold (min*threshold) are assigned to the noise subspace. |
FFTlength |
'NextPow2' |
String defining how the number of FFT points is determined. The default is the next power of 2 that is greater than the input length. Other valid values are 'InputLength' and 'UserDefined' . InputLength uses the length of the input signal as the FFT length. UserDefined uses the value provided via a pseudospectrum method or dspopts object. See dspopts for an example. |
InputType |
'Vector' |
Type of input that will be used with this spectrum object. Valid values are 'Vector' , 'DataMatrix' and 'CorrelationMatrix'. |
Hs = spectrum.music(NSinusoids)
returns a spectrum object, Hs
, with the specified number of sinusoids and default values for all other properties. Refer to the table above for default values.
Hs = spectrum.eigenvector(NSinusoids,SegmentLength)
returns a spectrum object, Hs
, with the specified segment length.
Hs = spectrum.music(...,OverlapPercent)
returns a spectrum object, Hs
, with the specified overlap between segments.
Hs = spectrum.music(...,WindowName)
returns a spectrum object, Hs
, with the specified window.
Note
Window names must be enclosed in single quotes, such as spectrum. music(3,32,50,'chebyshev') or spectrum. music(3,32,50,{'chebyshev',60})
|
Hs = spectrum.music(...,SubspaceThreshold)
returns a spectrum object, Hs
, with the specified subspace threshold.
Hs = spectrum.music(...,FFTLength)
returns a spectrum object, Hs
, with the specified FFT length type.
Hs = spectrum.music(...,InputType)
returns a spectrum object, Hs
, with the specified input type.
Note
See pmusic for more information on the MUSIC algorithm.
|
Examples
Define a complex signal with three sinusoids, add noise, and estimate its pseudospectrum using the MUSIC algorithm.
randn('state',1); n=0:99; s=exp(i*pi/2*n)+2*exp(i*pi/4*n)+exp(i*pi/3*n)+randn(1,100); Hs=spectrum.music(3); pseudospectrum(Hs,s,'NFFT',512)
See Also
dspdata
, dspopts
, spectrum
, spectrum.eigenvector
, spectrum.burg
, spectrum.cov
, spectrum.mcov
, spectrum.yulear
, spectrum.periodogram
, spectrum.welch
, spectrum.mtm
spectrum.mtm | spectrum.periodogram |
© 1994-2005 The MathWorks, Inc.