Scilab Function

group - group delay for digital filter

Calling Sequence

[tg,fr]=group(npts,a1i,a2i,b1i,b2i)

Parameters

Description

Calculate the group delay of a digital filter with transfer function h(z).

The filter specification can be in coefficient form, polynomial form, rational polynomial form, cascade polynomial form, or in coefficient polynomial form.

In the coefficient polynomial form the transfer function is formulated by the following expression

h(z)=prod(a1i+a2i*z+z**2)/prod(b1i+b2i*z+z^2)

Examples

Author