filtfilt函数的c语言实现.docVIP

  • 401
  • 0
  • 约3.93千字
  • 约 4页
  • 2018-03-07 发布于河南
  • 举报
filtfilt函数的c语言实现

[y,zf] = filter(b,a,X) [y,zf] = filter(b,a,X,zi) 其中b和a就是差分方程的系数,X是输入向量,zi是“初始状态”。可能这么说明还是不很清晰,那么请看图(注意,a(1)为1,这个可以通过差分方程所有系数除以a(1)所得): FILTFILT Zero-phase forward and reverse digital filtering. Y = FILTFILT(B, A, X) filters the data in vector X with the filter described by vectors A and B to create the filtered data Y. The filter is described by the difference equation: y(n) = b(1)*x(n) + b(2)*x(n-1) + ... + b(nb+1)*x(n-nb) - a(2)*y(n-1) - ... - a(na+1)*y(n-na) After filtering in the forward direction, the filtered sequence is then reve

文档评论(0)

1亿VIP精品文档

相关文档