Sign in

username:

password:



Not a member?

Search Online Books



Search tips

Free Online Books



Chapters

See Also

Embedded SystemsFPGAElectronics
Chapter Contents:

Search Spectral Audio Signal Processing

  

Book Index | Global Index


Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?

  

Least-Squares Linear-Phase FIR Filter Design

Let the FIR filter length be $ L+1$ samples, with $ L$ even, and suppose we'll initially design it to be centered about the time origin. Then the frequency response is given on our frequency grid $ \omega_k$ by

$\displaystyle H(\omega_k) = \sum_{n=-L/2}^{L/2} h_n e^{-j\omega_kn}
$

Enforcing even symmetry in the impulse response, i.e., $ h_n = h_{-n}$, gives a zero phase FIR filter which we can later right-shift $ L/2$ samples to make a causal, linear phase filter. In this case, the frequency response reduces to a sum of cosines:

\begin{eqnarray*}
H( \omega_k ) &=& h_0 + 2\sum_{n=1}^{L/2} h_n \cos (\omega_k n), \quad k=0,1,2,\ldots, N-1
\end{eqnarray*}

or in matrix form:

$\displaystyle \left[ \begin{array}{c}
H(\omega_0) \\ H(\omega_1) \\ \vdots \\ H...
...\left[ \begin{array}{c}
h_0 \\ h_1 \\ \vdots \\ h_{L/2}
\end{array} \right]}_x
$

(Note that Remez exchange algorithms are also based on this formulation internally.)



Subsections
Previous: Filter Design using Lp Norms
Next: Matrix Formulation: Optimal Design, Cont'd

Order a Hardcopy of Spectral Audio Signal Processing


About the Author: Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See http://ccrma.stanford.edu/~jos/ for details.


Comments


No comments yet for this page


Add a Comment
You need to login before you can post a comment (best way to prevent spam). ( Not a member? )