⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filtfilt.m

📁 用于语音识别语音增强方面的matlab工具包
💻 M
字号:
function y = filtfilt(b,a,x)% 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.%    %    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.% $Id: filtfilt.m 3 2004-02-04 12:57:04Z mairas $y_ = filtfilt(b,a,x.s);t = x.time;y = signal(y_,t);% set region of validityy.valid = x.valid;l = limpz(b,a,0.999,1024);y.valid(1) = x.valid(1)+l;if length(y.valid)==1  y.valid(2) = len(y)-l;else  y.valid(2) = x.valid(2)-l;end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -