Beruflich Dokumente
Kultur Dokumente
Dr. S. Kozaitis
Using Matlab, one can design low-pass digital filters of the following types:
1. Butterworth
2. Chebyshev (types 1 and 2)
3. Elliptic
4. Equiripple
5. Eigenfilter
In all cases, see the Matlab documentation for more information and uses.
[B,A] = butter(N,Wn)
[B,A] = cheby1(N,R,Wn)
Elliptic filters
Elliptic filters have equal ripple in the passband and stopbands. It often has a
steeper transition region than the Chebyshev filters. Elliptic filters can be designed by the
following command.
[B,A] = ellip(N,Rp,Rs,Wn)
LMS filters
LMS filters are those that minimize the MSE between the desired and actual
frequency response given for a specific filter order.
[B,A] = invfreqz(H,W,NB,NA)
Equiripple filters
Equiripple filters minimize the maximum error in the stopband. These filters have
sidelobes of constant height. Filters that minimize the MSE between a desired and actual
frequency response often have large sidelobes. The equiripple filter equalizes the height
of the ripples at the expense of MSE.
B = remez(N,F,A)
• N is the order of the filter.
• F is a vector that contains pairs of frequencies corresponding to frequency bands.
• A is a vector the same length of F, that contains the corresponding normalized
amplitudes.
• B contains the filter coefficients.