[Master Index] [Index for /tools/hpmatlab/toolbox/signal]

filtfilt

(/tools/hpmatlab/toolbox/signal/filtfilt.m)


Function Synopsis

y = filtfilt(b,a,x)

Help text

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 reversed and run back through the filter.
	The resulting sequence has precisely zero-phase distortion
	and double the filter order.  Care is taken to minimize
	startup and ending transients by matching initial conditions.

	The length of the input x must be more than three times
	the filter order, defined as max(length(b)-1,length(a)-1).

	See also FILTER.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON