You are here: Symbol Reference > SignalUtils Namespace > Functions > SignalUtils.IirInit Function
DSP Master VCL
ContentsIndex
PreviousUpNext
SignalUtils.IirInit Function

Initialize an IIR filter.

Pascal
procedure IirInit(const Taps: TVec; var IirState: TIirState; ComplexData: boolean); overload;

Initialize an IIR filter by initializing the IirState variable. Set ComplexData to True, if the data stream to be filtered will be complex. First half of the taps contains the numerator and the second half the denominator coefficients of the transfer function. The length of the taps vector is equal to 2*(IIrOrder + 1), where IirOrder is the order of the Iir filter. Transfer function: 

 

        Sum( t[k]  *z^(-k) )
H(z) = --------------------- ,           from k = 0 to N-1.
        Sum( t[N+k]*z^(-k) )


N .. length of polynomial, N = Taps.Length/2.
N-1 .. order of the polynomial
t ... taps vector
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!