General Causal Linear Filter Matrix Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

General Causal Linear Filter Matrix

To be causal, the filter output at time $ n\in[0,N-1]$ cannot depend on the input at any times $ m$ greater than $ n$. This implies that a causal filter matrix must be lower triangular. That is, it must have zeros above the main diagonal. Thus, a causal linear filter matrix $ \mathbf{h}$ will have entries that satisfy $ h_{mn}=0$ for $ n>m$.

For example, the general $ 3\times 3$ causal, linear, digital-filter matrix operating on three-sample sequences is

$\displaystyle \mathbf{h}= \left[\begin{array}{ccc}
h_{00} & 0 & 0\\ [2pt]
h_{10} & h_{11} & 0\\ [2pt]
h_{20} & h_{21} & h_{22}

and the input-output relationship is of course

$\displaystyle \left[\begin{array}{c} y_0 \\ [2pt] y_1 \\ [2pt] y_2\end{array}\r...
...left[\begin{array}{c} x_0 \\ [2pt] x_1 \\ [2pt] x_2\end{array}\right], \protect$ (6.9)

or, more explicitly,
$\displaystyle y_0$ $\displaystyle =$ $\displaystyle h_{00} x_0$  
$\displaystyle y_1$ $\displaystyle =$ $\displaystyle h_{10} x_0 + h_{11}x_1$  
$\displaystyle y_2$ $\displaystyle =$ $\displaystyle h_{20} x_0 + h_{21}x_1 + h_{22} x_2.
\protect$ (6.10)

While Eq. (5.10) covers the general case of linear, causal, digital filters operating on the space of three-sample sequences, it includes time varying filters, in general. For example, the gain of the ``current input sample'' changes over time as $ h_{00}, h_{11}, h_{22}$.

Next  |  Prev  |  Up  |  Top  |  Index  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

[How to cite this work] [Order a printed hardcopy]

``Introduction to Digital Filters with Audio Applications'', by Julius O. Smith III, (August 2006 Edition).
Copyright © 2007-02-02 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA  [Automatic-links disclaimer]