Convert reflection coefficients to prediction filter polynomial
a = rc2poly(k)
[a,efinal] = rc2poly(k,r0)
a = rc2poly(k) converts the reflection
k corresponding to the lattice structure to the
prediction filter polynomial
1. The output
a is row vector of length
length(k) + 1.
[a,efinal] = rc2poly(k,r0) returns
the final prediction error
efinal based on the zero-lag
Consider a lattice IIR filter given by a set of reflection coefficients. Find its equivalent prediction filter representation.
k = [0.3090 0.9800 0.0031 0.0082 -0.0082]; a = rc2poly(k)
a = 1×6 1.0000 0.6148 0.9899 0.0000 0.0032 -0.0082
rc2poly computes output
a using Levinson's
recursion . The function
Sets the output vector
a to the first
Loops through the remaining elements of
For each loop iteration
a = [a +
a = [1 a].
 Kay, Steven M. Modern Spectral Estimation. Englewood Cliffs, NJ: Prentice-Hall, 1988.
Usage notes and limitations:
See Variable-Sizing Restrictions for Code Generation of Toolbox Functions (MATLAB Coder).