A simple example of a recursive digital filter is given by
yn = xn + yn-1
In other words, this filter determines the current output (yn) by adding the current input (xn) to the previous output (yn-1).
Note that y-1 (like x-1) is undefined, and is usually taken to be zero.
Thus we can see that yn, the output at t = nh, is equal to the sum of the current input xn and all the previous inputs. This filter therefore sums or integrates the input values, and so has a similar effect to an analog integrator circuit.
This example demonstrates an important and useful feature of recursive filters: the economy with which the output values are calculated, as compared with the equivalent non-recursive filter. In this example, each output is determined simply by adding two numbers together.
This would necessitate many more addition operations, as well as the storage of many more values in memory.
Next | Previous | DSP home page | Index