Signal Processing Toolbox | Help Desk |
filtfilt
Zero-phase digital filtering.
y = filtfilt(b,a,x)
y = filtfilt(b,a,x)
performs zero-phase digital filtering by processing the input data in both the forward and reverse directions (see problem 5.39 in [1]). After filtering in the forward direction, it reverses the filtered sequence and runs it back through the filter. The resulting sequence has precisely zero-phase distortion and double the filter order. filtfilt
minimizes startup and ending transients by matching initial conditions.
filtfilt
works for both real and complex inputs.
filtfilt
is an M-file that uses the filter
function. In addition to the forward-reverse filtering, it attempts to minimize startup transients by adjusting initial conditions to match the DC component of the signal and by prepending several filter lengths of a flipped, reflected copy of the input signal.
Filter data with a recursive (IIR) or nonrecursive (FIR) filter. |
|