rc2poly
Conversion of reflection coefficients into a prediction filter polynomial.
| Library |
|
Arguments
Input arguments
# k — reflection coefficients
+
vector
Details
A list of reflection coefficients specified as a vector.
| Типы данных |
|
| Support for complex numbers |
Yes |
# r0 — zero-delay autocorrelation
+
scalar
Details
Zero-delay autocorrelation, given as a scalar.
| Типы данных |
|
| Support for complex numbers |
Yes |
Output arguments
# eFinal — the power of the finite prediction error
+
scalar
Details
The error power of the final prediction, returned as a scalar.
Examples
An equivalent representation in the form of a prediction filter
Details
Consider a lattice IIR filter given by a set of reflection coefficients. We find its equivalent representation in the form of a prediction filter.
import EngeeDSP.Functions: rc2poly
k = [0.3090 0.9800 0.0031 0.0082 -0.0082]
a = rc2poly(k)
1×6 Matrix{Float64}:
1.0 0.614816 0.989881 2.42604e-5 0.00315796 -0.0082