User`s guide

1 Data Processing
In this case, w1 an d wh represent the low and high frequencies of the passband,
respectively.
You can specify several passbands, as follows:
filter=[[w1l,w1h];[ w2l,w2h]; ....;[wnl,wnh]]
The lter is an n -by- 2 matrix, where each row denes a passband in radians
per second.
To dene a stopband between
ws1 and ws2,use
filter = [0 ws1; ws2 Nyqf]
where, Nyqf is the Nyquist frequency.
For time-domain data, the passband ltering is cascaded B utterworth lters of
specied order. The default lter order is 5. The Butterworth lter is the same
as
butter in the Sig n al Processin g Toolbox produc t. For frequency-domain
data, select t he indicated portions of the data to perform passband ltering.
Defining a Custom Filter
Use id filt to apply passband and other custom lters to a time-domain or
a frequency-domain
iddata object.
In ge nera l, you ca n specify any custom lter. Use this syntax to lter an
iddata object data using the lter called fi lter :
fdata = idfilt(data,filter)
You can dene a general single-input/single-output (SISO) system for ltering
time-domain or frequency-domain data. For frequency-domain only, you can
specify the (nonparametric) frequency response of the lter.
You use this syntax to lter an
iddata object data using a custom lter
specied by
filter:
fdata = idfilt(data,filter)
filter
canbealsoanyofthefollowing:
1-112