poly2ac
Transformation of the predictive filter polynomial into an autocorrelation sequence.
| Library |
|
Arguments
Input arguments
# a — coefficients of the predictive filter
+
vector
Details
Coefficients of the predictive filter, specified as a vector.
|
The value of the argument
|
| Типы данных |
|
| Support for complex numbers |
Yes |
# eFinal — power of finite prediction error
+
scalar
Details
The power of the finite prediction error, given as a scalar.
| Типы данных |
|
| Support for complex numbers |
Yes |
Examples
Calculation of the autocorrelation sequence based on the predictive filter
Details
Let be given a polynomial a predictive filter and the final prediction error efinal, we find the autocorrelation sequence.
import EngeeDSP.Functions: poly2ac
a = [1.0000 0.6147 0.9898 0.0004 0.0034 -0.0077]
efinal = 0.2
ac = poly2ac(a, efinal)
6-element Vector{Float64}:
5.591709093839243
-1.7276920029304619
-4.423063394533152
4.398506494154623
1.6425622434116223
-5.312625200749032