Convert prediction filter polynomial to autocorrelation sequence
r = poly2ac(a,efinal)
r = poly2ac(a,efinal)
returns the
autocorrelation vector, r
, corresponding to the autoregressive
prediction filter polynomial, a
, and the final prediction error,
efinal
. r
is approximately equal to the
autocorrelation of the output of a prediction filter with coefficients
a
. If a(1)
is not equal to 1,
poly2ac
normalizes the prediction filter polynomial by
a(1)
. a(1)
cannot be 0.
You can apply this function to both real and complex polynomials.
[1] Kay, Steven M. Modern Spectral Estimation. Englewood Cliffs, NJ: Prentice-Hall, 1988.