rc2ac
Conversion of reflection coefficients into an autocorrelation sequence.
| 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 |
Examples
Calculation of the autocorrelation sequence
Details
We define the autocorrelation sequence corresponding to a given vector of reflection coefficients k and the initial value of the autocorrelation at zero delay r0.
import EngeeDSP.Functions: rc2ac
k = [0.3090 0.9800 0.0031 0.0082 -0.0082]
r0 = 0.1
a = rc2ac(k, r0)
6-element Vector{Float64}:
0.09999999999999934
-0.03089999999999965
-0.07909476199999964
0.07866265341159544
0.029362938197534588
-0.0950000097439273