User`s guide

Filtering Data
Filtering D ata
In this section...
“Supported Filters” on page 1-107
“Choosing to Prelter Your Data” on page 1-107
“How to Filter Da ta Using the GUI” on page 1-108
“How to Filter Data at the Command Line” o n page 1-111
“See Also” on page 1-114
Supported Filters
You can lter the input and output signals through a linear lter befo re
estimating a model in the System Identication Tool GUI or at the command
line. How you want to h andle the noise in the system determines whether it
is appropriate to prelter the data.
The lter available in the System Identication Tool GUI is a fth-order
(passband) Butterworth lter. If you need to specify a custom lter, use the
idfilt command.
Choosing to Prefilter Your Data
Preltering data can help remove high-frequency noise or low-frequency
disturbances (drift). The latter application is an alternative to subtracting
linear trends from the data, as described i n “Subtracting T rends from Signals
(Detrending)” on page 1-94.
In addition to minimizing noise, preltering lets you focus your model on
specic frequency bands. The frequency range of interest often corresponds
to a passband over the breakpoints on a Bode plot. For example, if you are
modeling a plant for control-design applications, you might prelter the data
to specically enhance f requencies around the desired closed-lo op bandwidth.
Preltering the input and output data through the same lter does not change
the input-output relationship for a linear system. However, preltering does
change the noise characteristics and affects the estimated model of the system.
1-107