An optimal filter can be obtained by using the Remez Exchange Algorithm to find the coefficients for the filter from a minimized Chebyshev approximation in the form:

 

(1)        image002aa

 

Where image004aa and the coefficients image006aa are chosen to yield an optimal image008aa.

 

The desired response for an Ideal Filter is given by:

 

(2)        image010aa

 

where image012aa is the set of bandpass frequencies and image014aa is the set of bandstop frequencies. Thus an optimal approach can be defined the as one that minimizes the maximum error given by:

 

image016aa

 

However, this error treats bandpass and bandstop errors alike. For a more general approach, a weight function is included:

 

(3)        image018aa

 

Which allows bandstop errors to be more important than bandpass errors (or vice versa, if a larger weight is given to bandpass errors). Thus, the error function is defined as:

 

image020aa

 

Then we use Chebyshev approximation to find the image006aa coefficients in (1) above that minimize image022aa. In turn, the Remez Exchange Algorithm is the method by which to arrive to the optimal image008aa.

 

The Alternation Theorem states that the impulse response image008aa given by equation (1) above will be a unique, best-weighted Chebyshev approximation to the desired frequency response image024aa if and only if, the error function exhibits at least image026aa extrema at frequencies in image028aa. The frequencies at which extrema occur are called Extremal Frequencies. So let image030aa denote the image032aa extremal frequency so that

 

image034aa

 

Then it can be proven that

(4)        image036aa, image038aa

(5)        image040aa

 

Together, equations (4) and (5) mean that the error is equal at all extremal frequencies. In addition, Equation (4) indicates that maxima and minima alternate, hence, the alternation theorem.

 

The alternation theorem tells us how to recognize an optimal set of image006aa for equation (1) when we have one, but it does not say how to obtain the image006aa. The Remez Exchange Algorithm provides an approach for finding the set of coefficients corresponding to this optimization.

 

 

 

Sponsored

Try Predictive Systems Lab

Interactive Demo →

Need Help?
Contact support