DFTFILT Discrete Fourier filter

Usage: >> b = dftfilt(n,W,c,k,q)

Inputs:
n   
number of input samples
W   
maximum angular freq. relative to n, 0 < W <= .5
c   
cycles
k   
oversampling
q   
[0;1] 0->fft, 1->c cycles

Authors: Sigurd Enghoff & Scott Makeig, SCCN/INC/UCSD, La Jolla, 8/1/98

See the matlab file dftfilt.m (may require other functions)

Back to functions