filtfilt
零相位数字滤波
语法
说明
使用数字滤波器 y = filtfilt(d,x)d 对输入数据 x 进行零相位滤波。使用 designfilt 根据频率响应设定生成 d。
零相位使用由分子系数和分母系数(分别为 y = filtfilt(B,A,x,"ctf")B 和 A)定义的Cascaded Transfer Functions (CTF) 对输入数据 x 进行滤波。 (自 R2024b 起)
注意
当您将 A 指定为标量或向量时,指定 "ctf" 选项以将具有六列的 CTF 分子矩阵 B 与二阶节矩阵输入 sos 区分开来。
使用名称-值参量指定附加选项。 (自 R2026a 起)y = filtfilt(___,Name=Value)
示例
输入参数
名称-值参数
输出参量
详细信息
提示
您可以获得 CTF 格式的滤波器,包括缩放增益。使用数字 IIR 滤波器设计函数的输出,例如 butter、cheby1、cheby2 和 ellip。在这些函数中指定 "ctf" 滤波器类型参量,并指定返回 B、A 和 g 以获取尺度值。 (自 R2024b 起)
参考
[1] Gustafsson, F. “Determining the initial states in forward-backward filtering.” IEEE® Transactions on Signal Processing. Vol. 44, April 1996, pp. 988–992. https://doi.org/10.1109/78.492552.
[2] Lyons, Richard G. Understanding Digital Signal Processing. Upper Saddle River, NJ: Prentice Hall, 2004.
[3] Mitra, Sanjit K. Digital Signal Processing. 2nd Ed. New York: McGraw-Hill, 2001.
[4] Oppenheim, Alan V., and Ronald W. Schafer, with John R. Buck. Discrete-Time Signal Processing. 2nd Ed. Upper Saddle River, NJ: Prentice Hall, 1999.








