| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Signal Processing Toolbox |
| Contents | Index |
| Learn more about Signal Processing Toolbox |
a = rc2poly(k)
[a,efinal] = rc2poly(k,r0)
a = rc2poly(k) converts the reflection coefficients k corresponding to the lattice structure to the prediction filter polynomial a, with a(1) = 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 autocorrelation, r0.
Consider a lattice IIR filter given by reflection coefficients k:
k = [0.3090 0.9800 0.0031 0.0082 -0.0082];
Its equivalent prediction filter representation is given by
a = rc2poly(k)
a =
1.0000 0.6148 0.9899 0.0000 0.0032 -0.0082
rc2poly computes output a using Levinson's recursion [1]. The function
Loops through the remaining elements of k.
For each loop iteration i, a = [a + a(i-1:-1:1)*k(i) k(i)].
[1] Kay, S.M., Modern Spectral Estimation, Prentice-Hall, Englewood Cliffs, NJ, 1988.
ac2poly, latc2tf, latcfilt, poly2rc, rc2ac, rc2is, rc2lar, tf2latc
![]() | rc2lar | rceps | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |