tf
Builtin index · Signal processing
result = tf(filt)
Input: filt · Output: result
What it is
filt: a Model (kind "filter").
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = tf(filt) | filt Modelnot documented yet | a[0] = 1 —an FIR filter's a is [1] | Returns a record {b, a}: the transfer-function coefficients in ascending powers of z^-1, with a[0] = 1 (an FIR filter's a is [1]). The inverse of filter_from_tf. Above roughly order 8 these coefficients lose precision; keep filtering through the sos model itself. |
Examples
No documentation example calls this form yet. The Signal processing chapter is where one belongs.
How it works
tf(filt) -- {b, a}: transfer-function coefficients in ascending powers of z^-1, a[0] = 1. An FIR filter's a is [1].
From the note above this builtin in the interpreter, where the reasoning was written down as it was built.