averef - % % % % % % % % % % % % % % % % % % % % % % % % %...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
% averef() - convert common-reference EEG data to average reference % Note that this old function is not being used in EEGLAB. The % function used by EEGLAB is reref(). % % Usage: % >> data = averef(data); % >> [data_out W_out S_out meandata] = averef(data,W); % % Inputs: % data - 2D data matrix (chans,frames*epochs) % W - ICA weight matrix % % Outputs: % data_out - Input data converted to average reference. % W_out - ICA weight matrix converted to average reference % S_out - ICA sphere matrix converted to eye() % meandata - (1,dataframes) mean removed from each data frame (point) % % Note: If 2 args, also converts the weight matrix W to average reference: % If ica_act = W*data, then data = inv(W)*ica_act; % If R*data is the average-referenced data, % R*data=(R*inv(W))*ica_act and W_out = inv(R*inv(W)); % The average-reference ICA maps are the columns of inv(W_out). % % Authors: Scott Makeig and Arnaud Delorme, SCCN/INC/UCSD, La Jolla, 1999 % % See also: reref() %123456789012345678901234567890123456789012345678901234567890123456789012
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2010 for the course ENG 990192 taught by Professor Lagestrom during the Spring '10 term at UC Davis.

Page1 / 2

averef - % % % % % % % % % % % % % % % % % % % % % % % % %...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online