chebyshev1IIRFilter(order, ripple, type, freq, sampfreq)

import signals.filters.iir-1

Design Chebyshev 1 digital IIR filter.

orderThe order of the filter.
ripplePassband ripple.
typeThe type of the filter ("lowpass", "highpass", "bandpass", "bandstop"). See description.
freqCorner frequency/frequencies. See description.
sampfreqIf given, the sample frequency of the signal. If not, an analog filter will be designed.
return valueTransfer function object.

Parameter type is a string value describing the filter type:

The meaning of the parameter freq depends on the type of the filter. If it is a bandpass or bandstop filter, then it is an array of frequencies, otherwise it is a single frequency.

For more information, see

import signals.filters.iir-1;
Design a digital Chebyshev 1 filter
filt=chebyshev1IIRFilter(4, 1dB, "", 100Hz[100Hz,200Hz], 600Hz)
import signals.filters.iir-1;
Design an analog Chebyshev 1 filter
filt=chebyshev1IIRFilter(4, 1dB, "", 100Hz[100Hz,200Hz])
import signals.filters.iir-1;
Plot filter characteristics