In linear-phase filter design, we assumed symmetry of our filter coefficients [ ]
If we try to use ' ' or pinv in Matlab, we will generally get a complex result for
Summarizing our problem:
where, , , and
Hence we have,
which can be written as:
or
which is written in terms of only real variables.
Hence, we can use the standard least squares solvers in Matlab and end up with a real solution.
Related paper
``Design of Fractional Delay Filters Using Convex Optimization'' (Mohonk-97, Music 421 handout):