Signal Processing Toolbox Previous page   Next Page
spectrum.yulear

Yule-Walker spectrum object

Syntax

Description

Hs = spectrum.yulear returns a default Yule-Walker spectrum object, Hs, that defines the parameters for the Yule-Walker spectral estimation algorithm. This method is also called the auto-correlation or windowed method. The Yule-Walker algorithm estimates the spectral content by fitting an auto-regressive (AR) linear prediction filter model of a given order to the signal. This leads to a set of Yule-Walker equations, which are solved using Levinson-Durbin recursion.

Hs = spectrum.yulear(order) returns a spectrum object, Hs, with the specified order and the FFTLength determined using NextPow2. The default value for order is 4.

Hs = spectrum.yulear(order,FFTLength) returns a spectrum object, Hs, with the specified order of the AR model and the specified way of determining the FFTLength. Valid values of the FFTLength string are as follows.

FFTLength string
Description
'InputLength'
Use the length of the input signal as the FFT length
'NextPow2'
Use the next power of 2 greater than the input signal length as the FFT length. This is the default value.
'UserDefined'
Use the FFT length provided as an input to the psd method or via a dspopts object. See dspopts for an example.

Examples

Define a fourth order auto-regressive model and view its spectral content using the Yule-Walker algorithm.

See Also

dspdata, dspopts, spectrum, spectrum.burg, spectrum.cov, spectrum.mcov, spectrum.periodogram, spectrum.welch, spectrum.mtm, spectrum.eigenvector, spectrum.music


Previous page  spectrum.welch sptool Next page

© 1994-2005 The MathWorks, Inc.