IIR filter design library.
It can design three kinds of filters:
my_filter = IIRFilter (
8, // filter order
1 dB, // passband ripple
-60 dB, // stopband attenuation
"", // band configuration
[ 25 Hz ], // cutting frequency
150 Hz // sampling frequency
)
my_filter.plot()
my_filter.plotZerosPoles()
my_filter.plotPhase()
my_filter.plotAmplitude()
my_filter.plotImpulseResponse()
input = [! zeros(100,1), ones(100,1), zeros(100,1), ones(100,1) !];
output = my_filter.filter(input);
chart().curve(input).curve(output)
my_filter.getImplementationDetails()
Design Butterworth IIR filter with Matlab-like syntax. |
Design Chebyshev type 1 IIR filter with Matlab-like syntax. |
Design Chebyshev type 2 IIR filter with Matlab-like syntax. |
Design Chebyshev 1 digital IIR filter. |
Design Chebyshev 2 digital IIR filter. |
Design Butterworth digital IIR filter. |