lsf2poly
Conversion of linear spectral frequencies into prediction filter coefficients.
| Library |
|
Arguments
Input arguments
# lsf — linear spectral frequencies
+
vector | the matrix
Details
Linear spectral frequencies specified as a vector or matrix.
If you specify an argument lsf as a matrix, the function lsf2poly will consider each column lsf as a separate channel.
| Типы данных |
|
Output arguments
# a — coefficients of the prediction filter
+
vector | the matrix
Details
Prediction filter coefficients returned as a vector or matrix of size on , where — the number of linear spectral frequencies, and — number of channels. The function returns the first column a in the form of units, thus, a[1] = 1 When a is a string vector.
Examples
Prediction coefficients based on linear spectral frequencies
Details
Let be given a vector lsf of linear spectral frequencies, we determine the equivalent coefficients of the prediction filter.
import EngeeDSP.Functions: lsf2poly
lsf = [0.7842 1.5605 1.8776 1.8984 2.3593]
a = lsf2poly(lsf)
1×6 Matrix{Float64}:
1.0 0.614838 0.989885 9.31594e-5 0.00313714 -0.00812002