FILTIC Function

Sets initial conditions for filter in transposed direct-form-2.

Usage

z = FILTIC(h, y, x)

Input Parameters

h—A structure containing coefficients of the filter, h.a and h.b.

y—A vector of past outputs [ y(–1), y(–2), ... ], where any omitted values are treated as zero.

x—A vector of past inputs [ x(–1), x(–2), ... ], where any omitted values are treated as zero.

Returned Value

z—An n-element state vector associated with input x and output y, where n = max(N_ELEMENTS(h.a), N_ELEMENTS(h.b)) – 1.

Keywords

None.

See Also

IIRFILT