| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Toolbox |
| Contents | Index |
| Learn more about Signal Processing Toolbox |
Hs = spectrum.cov
Hs = spectrum.cov(order)
Hs = spectrum.cov returns a default covariance spectrum object, Hs, that defines the parameters for the covariance spectral estimation algorithm. The covariance algorithm estimates the spectral content by fitting an auto-regressive (AR) linear prediction model of a given order to the signal.
Hs = spectrum.cov(order) returns a spectrum object, Hs with the specified order. The default value for order is 4.
Note See pcov for more information on the covariance algorithm. |
Define a fourth order auto-regressive model and view its power spectral density using the covariance algorithm.
randn('state',1);
x=randn(100,1);
x=filter(1,[1 1/2 1/3 1/4 1/5],x); % 4th order AR filter
Hs=spectrum.cov; % 4th order AR model
psd(Hs,x,'NFFT',512)

dspdata, spectrum, spectrum.burg, spectrum.mcov, spectrum.yulear, spectrum.periodogram, spectrum.welch, spectrum.mtm, spectrum.eigenvector, spectrum.music
![]() | spectrum.burg | spectrum.eigenvector | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |