1-D digital filter
y =滤波器(b,a,x)
y =滤波器(b,a,x,zi)
y = filter(b,a,x,zi,dim)
[y,zf] = filter(___)
筛选s the input datay
=过滤器(b
,a
,x
)x
using arational transfer functiondefined by the numerator and denominator coefficientsb
anda
。
Ifa(1)
不等于1
, then筛选
通过a(1)
。Therefore,a(1)
must be nonzero.
Ifx
is a vector, then筛选
返回过滤数据作为与相同大小的向量x
。
Ifx
是矩阵,然后筛选
沿着第一个维度起作用,并返回每列的过滤数据。
Ifx
是一个多维数组,然后筛选
沿着大小不等于1的第一个数组尺寸作用。
如果您具有信号处理工具箱™,则可以设计一个过滤器,d
, 使用Designfilt
。然后,您可以使用Y = filter(d,X)
to filter your data.
[1]Oppenheim, Alan V., Ronald W. Schafer, and John R. Buck.Discrete-Time Signal Processing。新泽西州上萨德尔河:Prentice-Hall,1999年。