摘要 |
A method for designing a digital filter, includes: (a) selecting a predetermined number of current sets of coefficients for the digital filter; (b) selecting a metric for evaluating coefficients of the digital filter; (c) computing a metric for each current set of coefficients; (d) deriving a next set of coefficients based on a subset of the current set of coefficients; (e) computing the metric for the next set of coefficients; (f) replacing a selected one of the current set of coefficients based on comparing the metric for the next set of coefficients with the metric for the selected current set of coefficients; and (g) iterating steps (a) to (e) until a termination criterion is met. In one embodiment, the selected metric represents a desired stop band response. The next set of coefficients may be derived by adjusting a first current set of coefficients by a weighted difference between a second current set of coefficients and a third current set of coefficients. The weighted difference may be obtained by multiplying a predetermined factor to the difference between the second current set of coefficients and the third current set of coefficients. In one embodiment, a scaling is performed such that the next set of coefficients does not include a pole outside of the unit circle. |