Design Chebyshev 2 digital IIR filter.
order | The order of the filter. |
atten | Stopband attenuation. |
type | The type of the filter ("lowpass", "highpass", "bandpass", "bandstop"). See description. |
freq | Corner frequency/frequencies. See description. |
sampfreq | If given, the sample frequency of the signal. If not, an analog filter will be designed. |
return value | Transfer function object. |
Parameter type is a string value describing the filter type:
For more information, see http://en.wikipedia.org/wiki/Chebyshev_filter.
filt=chebyshev2IIRFilter(4, -60dB, "", 100Hz[100Hz,200Hz], 600Hz)
filt=chebyshev2IIRFilter(4, -60dB, "", 100Hz[100Hz,200Hz])
filt.plot()