Elliptic filter design
[
设计低通、高通、带通或bandstopdigital elliptic filter and returns its zeros, poles, and gain. This syntax can include any of the input arguments in previous syntaxes.z,p,k
] = ellip(___)
Elliptic filters offer steeper rolloff characteristics than Butterworth or Chebyshev filters, but are equiripple in both the passband and the stopband. In general, elliptic filters meet given performance specifications with the lowest order of any filter type.
ellip
uses a five-step algorithm:
It finds the lowpass analog prototype poles, zeros, and gain using the functionellipap
.
It converts the poles, zeros, and gain into state-space form.
If required, it uses a state-space transformation to convert the lowpass filter to a bandpass, highpass, or bandstop filter with the desired frequency constraints.
For digital filter design, it usesbilinear
to convert the analog filter into a digital filter through a bilinear transformation with frequency prewarping. Careful frequency adjustment enables the analog filters and the digital filters to have the same frequency response magnitude atWp
orw1
andw2
.
It converts the state-space filter back to transfer function or zero-pole-gain form, as required.