Filter data with recursive (IIR) or nonrecursive (FIR) filter
filter is a MATLAB® function.
designfilt to generate
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.
The denominator of FIR filters is, by definition, equal to 1.
To use the
filter function with the
from an FIR function, use
y = filter(b,1,x).