Home > . > makeRawEEGFeatures.m

makeRawEEGFeatures

PURPOSE ^

%% featuresOrCV = makeRawEEGFeatures(trials,CV,command)

SYNOPSIS ^

function featuresOrCV = makeRawEEGFeatures(trials,CV,command)

DESCRIPTION ^

%%  featuresOrCV = makeRawEEGFeatures(trials,CV,command)
%%   trials: ntasks x ntrials cell array of data
%%   CV.parms contains
%%           .nlags
%%   featuresOrCV: ntasks x ntrials cell array of featurized data
%%         or  set to CV if command='make'

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function featuresOrCV = makeRawEEGFeatures(trials,CV,command)
0002 %%%  featuresOrCV = makeRawEEGFeatures(trials,CV,command)
0003 %%%   trials: ntasks x ntrials cell array of data
0004 %%%   CV.parms contains
0005 %%%           .nlags
0006 %%%   featuresOrCV: ntasks x ntrials cell array of featurized data
0007 %%%         or  set to CV if command='make'
0008 
0009 if nargin > 2 && strcmp(command,'make')
0010   featuresOrCV = CV;
0011   return;
0012 end
0013 
0014 nlags = CV.parms.nlags;
0015 featuresOrCV = lagize(trials,nlags);
0016

Generated on Tue 07-Feb-2006 12:02:57 by m2html © 2003