Member of the spectral analysis class.
a = corrmtx(x, m)
a = corrmtx(x, m, s)
[a, r] = corrmtx(x, m)
[a, r] = corrmtx(x, m, s)
Creates a Toeplitz matrix a, such that a'*a is an estimate of the autocorrelation matrix for x.
| Name | Description | ||||||||||
| x | Specifies an input signal. x is a vector. | ||||||||||
| m | Specifies the order of the output matrix. m is an integer. | ||||||||||
| s | Specifies how to create the output matrix. s accepts the following values.
|
| Name | Description |
| a | Returns the Toeplitz matrix. |
| r | Returns the autocorrelation matrix estimate, a'*a. |
A = 1:10;
X = corrmtx(A, 5)