Signal Processing Toolbox Previous page   Next Page
filter

Filter data with a recursive (IIR) or nonrecursive (FIR) filter

filter is a MATLAB function.

Signal-specific Information

Filter Method of DFILT

Filter is also an overloaded method of the discrete-time filter object (dfilt). You can pass an object handle, data, and optionally, the dimension into the filter method.

The MATLAB filter function describes a zi input for initial conditions. Note that the recommended way of passing initial conditions into a dfilt is by using the states property. For more information, see the dfilt reference page.

Filter Normalization

Using filter on b and a coefficients normalizes the filter by forcing the a0 coefficient to be equal to 1.

Using the filter method on a dfilt object does not normalize the a0 coefficient.


Previous page  fftshift filter2 Next page

© 1994-2005 The MathWorks, Inc.