System Identification Toolbox    
idfilt

Filter data using general filters or Butterworth filters.

Syntax

Description

z is the data, defined as an iddata object. zf contains the filtered data as an iddata object. The filter can be defined in two ways:

The output argument mf is the filter given as an idmodel object.

With causality = 'causal' (default) causal filtering is used. With
causality = 'noncausal', a noncausal, zero-phase filter is used for the filtering.

It is common practice in identification to select a frequency band where the fit between model and data is concentrated. Often this corresponds to bandpass filtering with a pass band over the interesting breakpoints in a Bode diagram. For identification where a disturbance model also is estimated, it is better to achieve the desired estimation result by using the property 'Focus' (see Algorithm Properties) than just to prefilter the data.

Algorithm

The Butterworth filter is the same as butter in the Signal Processing Toolbox. Also, the zero-phase filter is equivalent to filtfilt in that toolbox.

References

Ljung (1999), Chapter 14.


  ident idfrd