<div dir="ltr">Dear Mostafa,<div><br></div><div><div>> 1) clear to me which of these numbers means epoch and the frame per epoch in EEGLAB.</div><div><br></div><div>EEGLAB's EEG.data is ch x datapoints. When it is epoched, ch x datapoints x epochs.</div><div><br></div><div>> 2) When I try to import this file to EEGLAB from file-->import data-->Matlab array even i put the number of channels 18 after importing it, the information about data load in a bad way. I get these information<br></div><div>channels per frame 36</div><div>frames per epoch 18</div><div>epochs 10</div><div>How can I import my data correctly?</div><div><br></div><div>Without checking with Matlab,</div><div><br></div><div>for subj = 1:36</div><div>tmpSubj = squeeze(data(subj, :,:,:)); % extract one subject at a time and remove singleton dimension</div><div>tmpSubj = permute(tmpSubj, 1,3,2); % swap data dimensions to fit EEG.data format</div><div>% and use EEGLAB import function here to import tmpSubj to the data<br></div><div>% and save the current data into .set file with appropriate names</div><div>end <br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 6:09 AM, Mostafa Rz <span dir="ltr"><<a href="mailto:mostafa.rouzbahani@gmail.com" target="_blank">mostafa.rouzbahani@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi all<div><br><div>I have an EEG data with .mat format. It's size is [36,18,10,2560].</div><div>These number means:</div><div><br></div><div>36 person which EEG record from them</div><div>18 channel </div><div>10 times this recording repeat for everyone</div><div>and the recording take longs 2560 sample with 512 sampling rate its mean 5s<br></div><div><br></div><div>I have two question</div><div><br></div><div>1) clear to me which of these numbers means epoch and the frame per epoch in EEGLAB.</div><div><br></div><div>2) When I try to import this file to EEGLAB from file-->import data-->Matlab array even i put the number of channels 18 after importing it, the information about data load in a bad way. I get these information</div><div>channels per frame 36</div><div>frames per epoch 18</div><div>epochs 10</div><div>How can I import my data correctly?</div><div><br></div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Kind regards,</span><br style="font-family:arial,sans-serif;font-size:13px"></div><div><br></div></div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div></div></div>