FIR Digital Filter Design
Optimal FIR Digital Filter Design
Least-Squares Linear-Phase FIR Filter Design
Geometrical Interpretation of Least SquaresSearch Spectral Audio Signal Processing
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Typically, the number of frequency constraints is much greater than the number of design variables (filter taps). In these cases, we have an overdetermined system of equations (more equations than unknowns). Therefore, we cannot generally satisfy all the equations, and we are left with minimizing some error criterion to find the ``optimal compromise'' solution.
In the case of least-squares approximation, we are minimizing the Euclidean distance, which suggests the geometrical interpretation shown in Fig.E.28.
Thus, the desired vector
is the vector sum of its
best least-squares approximation
plus an orthogonal error
:
(Note: To obtain the best numerical algorithms for least-squares
solution in Matlab, it is usually better to use ``x = A
b'' rather than explicitly computing the pseudo-inverse
as in ``x = pinv(A) * b''.)
