State Space Filter Realization Example
The digital filter having difference equation
Thus,
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:
Effect of Measurement Noise
Previous Section:
Lossless Analog Filters




![$\displaystyle \left[\begin{array}{c} x_1(n+1) \\ [2pt] x_2(n+1) \\ [2pt] x_3(n+1)\end{array}\right]$](http://www.dsprelated.com/josimages_new/filters/img2015.png)
![$\displaystyle \left[\begin{array}{ccc}
0 & 1 & 0\\ [2pt]
0 & 0 & 1\\ [2pt]
0.01...
...\right] +
\left[\begin{array}{c} 0 \\ [2pt] 0 \\ [2pt] 1\end{array}\right] u(n)$](http://www.dsprelated.com/josimages_new/filters/img2016.png)
![$\displaystyle \left[\begin{array}{ccc} 0 & 1 & 1\end{array}\right]
\left[\begin{array}{c} x_1(n) \\ [2pt] x_2(n) \\ [2pt] x_3(n)\end{array}\right]
\protect$](http://www.dsprelated.com/josimages_new/filters/img2017.png)



