Home > bioelectromagnetism > eeg_grand_mean_load_asc_script.m

eeg_grand_mean_load_asc_script

PURPOSE ^

eeg_grand_mean_load_asc_script - load grand mean ERPs

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 eeg_grand_mean_load_asc_script - load grand mean ERPs

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % eeg_grand_mean_load_asc_script - load grand mean ERPs
0002 
0003 clear; close all;
0004 
0005 inpath = 'd:\MyDocuments\emse_data\ptsd-pet\grand_mean\';
0006 
0007 file_ext = '_scd14hz.txt';
0008 %bin_ext  = '_scd14hz.mat';
0009 
0010 groups = {'c' 'p'};
0011 conditions = {'o' 'oac' 'oat' 'ouc' 'out' 't' 'tac' 'tad' 'tat' 'tuc' 'tud' 'tut'};
0012 
0013 for c = 1:length(conditions),
0014     
0015     cond = char(conditions(c));
0016     
0017     for g = 1:length(groups),
0018         
0019         group = char(groups(g));
0020 
0021         infile = strcat(inpath,group,cond,file_ext);
0022         
0023         data = eeg_load_ascii(infile);
0024         
0025         %figure('Name',infile); plot(data)
0026     end
0027 end

Generated on Mon 15-Aug-2005 15:36:19 by m2html © 2003