matlabfiltfilt截止频率,MATLAB

matlabfiltfilt截⽌频率,MATLAB 中filtfilt 函数使⽤说明
任何⼀个数字都有幅频特性和相频特性,如果对于滤波不要求实时性,我们可以设计⼀种滤波器,使得它的相频特性始终为0,这种数字滤波器就称为零相移数字滤波器。
在中,零相移滤波器对应的函数名称为filtfilt,其帮助中提供的信息如下,翻译⼀下:
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:
FILTFILT 零相移前向后向数字滤波器
Y = FILTFILT(B, A,
X)通过向量A,B描述的旅欧不起对数据向量X滤波得到滤波后的数据Y。滤波器可以通过差分⽅程描述如下:
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 reversed and run back through the filter; Y is the time
reverse of the output of the second filtering operation. The result
has precisely zero phase distortion and magnitude modified by the
square of the filter's magnitude response. Care
is taken to minimize startup and ending transients by matching
initial conditions.
通过前向滤波之后,滤波序列被反折并且再次通过滤波器,Y是第⼆次滤波器输出的时间反折序列。其结果是相位特性精确的为零,没有变形并且幅频特性被滤波器幅频特性的平⽅所改变。初值和终值都被选择的很⼩的跳变来匹配初始条件。
The length of the input x must be more than three times the
filter order, defined as max(length(b)-1,length(a)-1). Note that
FILTFILT should not be used with differentiator and Hilbert FIR
filters, since the operation of these filters depends heavily on
their phase response.
输⼊序列x的长度必须⼤于滤波器阶数的三倍,阶数定义为max(length(b)-1,length(a)-1)。注意FILTFILT不应当被⽤于Hilbert
FIR滤波器,因为这些滤波器的相位特性是很重要的。

本文发布于:2024-09-20 23:34:41,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/4/95791.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:滤波   序列   相移   数字   终值
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议