Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

filter

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

Description

filter is a MATLAB® function.

Signal-Specific Information

Filter Using digitalFilter Objects

Use filter in the form y = filter(d,x) to filter an input signal, x, with a digitalFilter, d, and obtain output data, y.

Use designfilt to generate d based on frequency-response specifications.

x can be a double- or single-precision vector. It can also be a matrix with as many columns as there are input channels.

FIR Filters

The denominator of FIR filters is, by definition, equal to 1. To use the filter function with the b coefficients from an FIR function, use y = filter(b,1,x).

Introduced before R2006a

Was this topic helpful?