DENOISE yields the regression coefficients for correcting EOG artifacts in EEG recordings. The correction of a single record is obtained like this: [S] = DENOISE(S) [S] = DENOISE(FileName) removes bias, and 50/60Hz. [S] = DENOISE(..., SigChanIdx) removes bias, and 50/60Hz on the Signal channels (indicated by vector SigChanIdx) only. [S] = DENOISE(..., ListSigChan, ListNoiseChan) uses the Noise channels for correction, too. Input parameters: filename signal data file. S signal data, each column represents a channel SigChanIdx list of signal channels; 0 [default] indicates all channels NoiseChanIdx list of noise channels use for correction Output parameters S corrected signal data see also: Reference(s): R.T.Behrens, L.L. Scharf, Signal Processing Applications of Oblique Projection Operators. IEEE Trans Signal Processing, 42(6), 1994, 1413-1424.