Time Response of Digital Filters

response(v, C1, n) Returns a n-element vector giving the response of input vector v to an FIR or IIR filter with coefficient array C1. Uses direct evaluation of the convolution. For a long input signal, this method can be quite slow.

fftfilt(v, C2, [nfft]) Returns a vector giving the response of input vector v to an FIR filter with coefficients C2. Applies the DFT of optional length nfft to successive segments of the input, then combines the results with the overlap-add method. For the case of an FIR filter with an impulse response much shorter than the input signal, this may be faster than the response function.

Arguments:

Notes: