tf2latc
Conversion of the coefficients of the transfer function of the filter into the form of a lattice filter.
| Library |
|
Arguments
Input arguments
# b,a are the coefficients of the transfer function
+
vectors
Details
The coefficients of the transfer function, given as vectors.
| Типы данных |
|
# b0 — coefficients of the numerator of the transfer function
+
scalar
Details
The coefficients of the numerator of the transfer function, given as a scalar.
| Типы данных |
|
# phase — type of FIR filter (MA)
+
"none" (by default) | "max" | "min"
Details
The type of FIR filter (MA), specified as "max" or "min". For the maximum-phase filter, specify the value "max". For the minimum-phase filter, specify the value "min".
| Типы данных |
|
Examples
Converting the coefficients of an all-pole IIR filter into lattice coefficients
Details
We convert the all-pole IIR filter into lattice coefficients.
import EngeeDSP.Functions: tf2latc
a = [1 13/24 5/8 1/3]
k, v = tf2latc(1, a)
println("k = ", k)
k = [0.24999999999999997; 0.5000000000000001; 0.3333333333333333;;]