| Signal Processing Toolbox™ | ![]() |
Convert prediction filter polynomial to autocorrelation sequence
r = poly2ac(a,efinal)
r = poly2ac(a,efinal) finds the autocorrelation vector r corresponding to the prediction filter polynomial a. The autocorrelation sequence produced is approximately the same as that of the output of the autoregressive prediction filter whose coefficients are determined by a. poly2ac also produces the final length(r) step prediction error efinal. 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.
a = [1.0000 0.6147 0.9898 0.0004 0.0034 -0.0077];
efinal = 0.2;
r = poly2ac(a,efinal)
r =
5.5917
-1.7277
-4.4231
4.3985
1.6426
-5.3126
[1] Kay, S.M. Modern Spectral Estimation, Englewood Cliffs, NJ, Prentice-Hall, 1988
![]() | pmusic | poly2lsf | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |