IIR Filter the supplied imat_fn time history.
g=filteri(f,'low',5)
g=filteri(f,'band',[5.5
6.8])
g=filteri(IN,TYPE,WP,NPOLES,'silent','noprogbar')
FILTERI applies an Infinite Impulse Response (IIR) filter to the supplied imat_fn IN. It uses a Butterworth filter. TYPE is a string specifying the type of filter. Supported filter types are
'high' - High pass
'low' - Low pass
'band' - Band pass
'stop' - Notch
WP is a scalar (for high- and low-pass) or a 1x2 vector (for bandpass and notch) filters. It specifies the filter frequencies. NPOLES is an optional scalar specifying the number of poles to use in the filter. The default is 4. FILTERI stores the requested filter and parameters in IDLine2 of the output.
The string 'silent' suppresses output. If it is not supplied (the default), status messages will be displayed. A plot of the filter characteristics will be displayed.
The string 'noprogbar' suppresses the progress bar.
FILTERI requires the Signal Processing toolbox.
>> g=filteri(f,'band',[5.5 6.8])
-------------------------------------
Nyquist frequency: 50 Hz
Using a 4-pole Butterworth filter
Filter bandpass frequency: 5.5-6.8 Hz
Filter maximum amplitude is 1
g =
3x1 IMAT Function with the following attributes:
Record Name FunctionType AbscissaSpacing NumberElements
--------------------------- ---------------- ---------------- ----------------
1_(1X+,1X+) Time Response Even 1000
2_(1X+,1X+) Time Response Even 1000
3_(1X+,1X+) Time Response Even 1000
>>