<div dir="ltr">Dear Alberto,<div><br></div><div>> Makoto, I would need to import different data epochs in LORETA software for subsequent analysis(maybe it is not even necesarry but I am trying different apporaches).<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Ah, that makes sense. You need a short chunk of data to produce a map, if I guess it correctly. I would, as usual, recommend you try ICA as an alternative when you have time. It has very unique merit.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 2:11 AM, Alberto Cacciola <span dir="ltr"><<a href="mailto:alberto.cacciola0@gmail.com" target="_blank">alberto.cacciola0@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"><div><div><div><div><div><div>Dear all, <br></div>many thanks for your help and quick response. <br></div>I fixed the problem creating a loop to save each epoch one at a time. <br></div>If it can help someone, here it is:<br><br>for i=1:size(EEG.data,3)<br> x = double(EEG.data(:,:,i));<br> dlmwrite(['epochs\Epoch_' num2str(i) '.txt'],x,'\t')<br>end<br><br></div>Makoto, I would need to import different data epochs in LORETA software for subsequent analysis(maybe it is not even necesarry but I am trying different apporaches).<br>Sorry for the strange question!!:)<br><br><br></div>Best<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888">Alberto<br></font></span></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-10-18 10:10 GMT+02:00 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span>:<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">Dear Alberto,<div><br></div><div>There is EEGLAB function to export data into an ascii file. I don't know if you want to use it though if you have so many small epochs to be saved saparately.</div><div><br></div><div>It's best to write a batch to do this. Are you familiar with it?</div><div><br></div><div>I wonder what you want to do with that files. That's the strangest query I've ever heard!</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_-3619222820445731329h5">On Thu, Oct 13, 2016 at 2:41 AM, Alberto Cacciola <span dir="ltr"><<a href="mailto:alberto.cacciola0@gmail.com" target="_blank">alberto.cacciola0@gmail.com</a>></span> wrote:<br></div></div><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><div class="gmail-m_-3619222820445731329h5"><div dir="ltr"><div><div><div><div>Dear all, <br><br></div>First of all, sorry if my question can be stupid. I searched on the previous messages of the mailing list but couldn't manage to find any solutions,<br><br>I am new with EEGlab. I splitted a resting state EEG in 2-s epochs as follow:<br><br>EEG = eeg_regepochs(EEG, 'recurrence', 2, 'limits', [0 2], 'rmbase', NaN);<br><br></div>and didn't encounter any problems. <br>Now I would like to save each epoch as a different file. For Instance, if I have 90 epochs of 2sec I would save each of the epoch as a .txt or .asc file, thus resulting in 90 independent files.<br>Is it possible? How should I proceed?<br><br></div>Many thanks for your help<span class="gmail-m_-3619222820445731329m_2415436638940495986HOEnZb"><font color="#888888"><br></font></span></div><span class="gmail-m_-3619222820445731329m_2415436638940495986HOEnZb"><font color="#888888">Alberto<br><div><div><br><br><br></div></div></font></span></div>
<br></div></div><span>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><br></span></blockquote></div><span class="gmail-m_-3619222820445731329HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-3619222820445731329m_2415436638940495986gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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>