filters a data sequence using a digital filter
[y,zf] = filter(num,den,x [,zi])
: :x real row vector : the input signal : :zi real row vector of length max(length(a),length(b))-1: the
initial condition relative to a “direct form II transposed” state space representation. The default value is a vector filled with zeros.
: :y real row vector : the filtered signal. : :zf real row vector : the final state. It can be used to filter a
next batch of the input signal.
:
This function filters a data sequence using a digital filter using a “direct form II transposed” implementation
Oppenheim, A. V. and R.W. Schafer. Discrete-Time Signal Processing, Englewood Cliffs, NJ: Prentice-Hall, 1989, pp. 311-312.