The transfer function of a block is defined as the transform of its impulse response. This is due to the fact that, in the frequency field, the output signal can be calculated by multiplying the input signal transform by the block transfer function.

Starting from the discrete Fourier transform and applying simplification we can define:

This new form in which the discrete Fourier transform can be placed is called the **zeta transform**.

Without getting, for now, into the topic, (see this previous article), keep in mind that the most important effect of this transformation is that every elementary delay in time, equals in the domain of the transform to a division by z. For example:

and more generally:

## Application of the zeta transform to the FIR filter over time

Applying the zeta transform thus defined to the finite difference equation that defines a generic FIR filter over time, (see this previous artile), we get an algebraic equation that constitutes its definition in the complex domain of the variable z.

or:

At this point it is immediate to derive the filter transfer function:

that is, in a more compact form:

[1]The last two equations represent two equivalent ways of writing the discrete transfer function of a generic FIR filter of order N-1.

FIR filters are very important because you can always make sure that they have a linear phase shift with the frequency.

## Linear phase shift filters

Although the phase of the transmitted signals is often neglected in monoaural telecommunications systems, such as the telephone, in the case of multiphonic systems it is of fundamental importance in the perception of the position of the sound.

Hence the need for certain applications to have linear phase shift filters with frequency so that the phase is not distorted. This is analogous to what happens in power lines when the Heaviside condition is valid since the physical means have the task of carrying the signal without distorting it.

In fact, if an x(t) signal is transmitted along a line, it is considered not distorting if the Heaviside conditions are respected, that is, if it is admitted that the signal itself can be recovered from the one received y(t) at less than a scale factor and a finite time delay, namely:

Considering the revealing property of the pulse, it is easy to verify that this is achieved by seeing the line as a filter whose response to the pulse is worth:

Therefore, to derive the Heaviside conditions valid in frequency, it is enough to transform the g(t) obtaining:

From this expression we can say that for a filter the Heaviside condition corresponds to the fact that its transfer function has constant amplitude and phase proportional to the frequency for all frequencies; this is completely equivalent to what applies to transmission lines.

## Conditions for having a linear phase shift FIR filter

For an FIR filter to introduce a linear phase shift, its coefficients must be symmetrical if the filter is low-pass and antisymmetrical if the filter is high-pass.

Without going into the demonstration, the filter transfer function [1] can be rewritten as:

[2]where, starting from [1] we placed (normalized frequency), the change of variable and then applied Euler’s formulas.

Now, from [2], we see that if the coefficients a_{k} are symmetric, i.e. a_{k}=a_{-k}, then in the summation the sinusoidal functions disappear and G(θ) will remain real and multiplied by a phase shift factor equal to which varies linearly with frequency.

If, on the other hand, the a_{k} coefficients are antisymmetric, i.e. a_{k}=-a_{-k}, the cosinusoidal functions will disappear from the summation. The phase shift will still be linear, due to the presence of the term although increased by one factor since the function is now purely imaginary. Also note that, in the latter case, it will become an odd function of the frequency and then the filter will be of the high-pass type.