# filteric

Version:

Returns the initial conditions for a transposed direct-form II filter.

## Syntax

z = filteric(b, a, y)
z = filteric(b, a, y, x)
Legacy name: filtic

## b

Forward filter coefficients. b is a vector.

## a

Backward filter coefficients. a is a vector.

## y

Output signal to filter. y is a real or complex vector. y starts from the most recent output. If y is shorter than length(a) - 1, MathScript pads the end of y with zeros. Otherwise, MathScript ignores the elements of y beyond y(length(a) - 1).

## x

Input signal to filter. x is a real or complex vector. x starts from the most recent input. If x is shorter than length(b) - 1, MathScript pads the end of x with zeros. Otherwise, MathScript ignores the elements of x beyond x(length(b) - 1).

## z

State of the delays given the previous inputs in x and the previous outputs in y.

b = [1, 2, 3, 4, 5];
a = [6, 7, 8];
y = [1, 2];
x = [3, 4, 5, 6];
z = filteric(b, a, y, x)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices