Design Butterworth digital IIR filter.
order | the order of the filter |
type | the type of the filter ("lowpass", "highpass", "badpass", "bandstop"). See description. |
freq | corner frequency/frequencies. See description. |
sampfreq | if given, the sample frequency of the signal. If not, 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/Butterworth_filter.
filt=butterworthIIRFilter(4, "", 100Hz[100Hz,200Hz], 600Hz)
filt=butterworthIIRFilter(4, "", 100Hz[100Hz,200Hz])
filt.plot()