DSP Blockset    
Covariance Method

Compute a parametric spectral estimate using the covariance method.

Library

Estimation / Power Spectrum Estimation

Description

The Covariance Method block estimates the power spectral density (PSD) of the input using the covariance method. This method fits an autoregressive (AR) model to the signal by minimizing the forward prediction error in the least-squares sense. The order of the all-pole model is the value specified by the Estimation order parameter, and the spectrum is computed from the FFT of the estimated AR model parameters. To guarantee a nonsingular output, you must set the value of the Estimation order parameter to be less than the input length. Otherwise, the output may be singular.

The input is a sample-based vector (row, column, or 1-D) or frame-based vector (column only) representing a frame of consecutive time samples from a single-channel signal. The block's output (a column vector) is the estimate of the signal's power spectral density at Nfft equally spaced frequency points in the range [0,Fs), where Fs is the signal's sample frequency.

When Inherit FFT length from input dimensions is selected, Nfft is specified by the frame size of the input, which must be a power of 2. When Inherit FFT length from input dimensions is not selected, Nfft is specified as a power of 2 by the FFT length parameter, and the block zero pads or truncates the input to Nfft before computing the FFT. The output is always sample-based.

See the Burg Method block reference for a comparison of the Burg Method, Covariance Method, Modified Covariance Method, and Yule-Walker Method blocks.

Dialog Box

Estimation order
The order of the AR model. To guarantee a nonsingular output, you must set the value of this parameter to be less than the input length. Otherwise, the output may be singular.
Inherit FFT length from input dimensions
When selected, uses the input frame size as the number of data points, Nfft, on which to perform the FFT. Tunable.
FFT length
The number of data points, Nfft, on which to perform the FFT. If Nfft exceeds the input frame size, the frame is zero-padded as needed. This parameter is enabled when Inherit FFT length from input dimensions is not selected.

References

Kay, S. M. Modern Spectral Estimation: Theory and Application. Englewood Cliffs, NJ: Prentice-Hall, 1988.

Marple, S. L., Jr., Digital Spectral Analysis with Applications. Englewood Cliffs, NJ: Prentice-Hall, 1987.

Supported Data Types

To learn how to convert to the above data types in MATLAB and Simulink, see Supported Data Types and How to Convert to Them.

See Also

Burg Method
DSP Blockset
Covariance AR Estimator
DSP Blockset
Short-Time FFT
DSP Blockset
Modified Covariance Method
DSP Blockset
Yule-Walker Method
DSP Blockset
pcov
Signal Processing Toolbox

See Power Spectrum Estimation for related information. Also see a list of all blocks in the Power Spectrum Estimation library.


  Covariance AR Estimator Create Diagonal Matrix