State Space Realization
Above, we used a matrix multiply to represent convolution of the
filter input signal with the filter's impulse response. This only
works for FIR filters since an IIR filter would require an infinite
impulse-response matrix. IIR filters have an extensively used matrix
representation called state space form
(or ``state space realizations'').
They are especially convenient for representing filters with
multiple inputs and multiple outputs (MIMO filters).
An order digital filter with
inputs and
outputs can be written
in state-space form as follows:
where









State-space models are described further in Appendix G. Here, we will only give an illustrative example and make a few observations:
State Space Filter Realization Example
The digital filter having difference equation

Thus,
![$ {\underline{x}}(n) = [x_1(n), x_2(n), x_3(n)]^T$](http://www.dsprelated.com/josimages_new/filters/img2018.png)

![$ B = [0,0,1]^T$](http://www.dsprelated.com/josimages_new/filters/img2019.png)
![$ C = [0,1,1]$](http://www.dsprelated.com/josimages_new/filters/img2020.png)

This example is repeated using matlab in §G.7.8 (after we have covered transfer functions).
A general procedure for converting any difference equation to
state-space form is described in §G.7. The particular
state-space model shown in Eq.(F.5) happens to be called
controller canonical form,
for reasons discussed in Appendix G.
The set of all state-space realizations of this filter is given by
exploring the set of all similarity transformations applied to
any particular realization, such as the control-canonical form in
Eq.
(F.5). Similarity transformations are discussed in
§G.8, and in books on linear algebra [58].
Note that the state-space model replaces an th-order
difference equation by a vector first-order difference
equation. This provides elegant simplifications in the theory and
analysis of digital filters. For example, consider the case
,
and
, so that Eq.
(F.4) reduces to
where















Next Section:
Time Domain Filter Estimation
Previous Section:
Inverse Filters