Signal Processing Toolbox    
poly2rc

Convert a prediction filter polynomial to reflection coefficients.

Syntax

Description

k = poly2rc(a) converts the prediction filter polynomial a to the reflection coefficients of the corresponding lattice structure. a can be real or complex, and a(1) cannot be 0. If a(1) is not equal to 1, poly2rc normalizes the prediction filter polynomial by a(1). k is a row vector of size length(a)-1.

[k,r0] = poly2rc(a,efinal) returns the zero-lag autocorrelation, r0, based on the final prediction error, efinal.

A simple, fast way to check if a has all of its roots inside the unit circle is to check if each of the elements of k has magnitude less than 1.

Examples

Limitations

If abs(k(i)) == 1 for any i, finding the reflection coefficients is an ill-conditioned problem. poly2rc returns some NaNs and provide a warning message in this case.

Algorithm

poly2rc implements the recursive relationship

This relationship is based on Levinson's recursion [1]. To implement it, poly2rc loops through a in reverse order after discarding its first element. For each loop iteration i, the function:

  1. Sets k(i) equal to a(i)
  2. Applies the second relationship above to elements 1 through i of the vector a.

See Also
ac2rc
Convert an autocorrelation sequence to reflection coefficients.
latc2tf
Convert a lattice filter parameters to transfer function form.
latcfilt
Lattice and lattice-ladder filter implementation.
poly2ac
Convert a prediction filter polynomial to an autocorrelation sequence.
rc2poly
Convert reflection coefficients to a prediction filter polynomial.
tf2latc
Convert transfer function filter parameters to lattice filter form.

References

[1] Kay, S.M. Modern Spectral Estimation, Englewood Cliffs, NJ, Prentice-Hall, 1988.


 poly2lsf polyscale