<div dir="ltr">Dear Agustin,<div><br></div><div>Hmm my guess is that data is much longer than we usually assume, so some parameter that depends on the data length does not work. I recommend you manually set the window length so that it is equivalent to be 1 second (it depends on your sampling rate, EEG.srate).</div><div><br></div><div>I made a convenience wiki page. It has sample code to compute FFT for each frequency band.</div><div><a href="https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code">https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code</a><br></div><div><br></div><div>Makoto </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 10:17 AM, Agustín Solano <span dir="ltr"><<a href="mailto:asolano@bioingenieria.edu.ar" target="_blank">asolano@bioingenieria.edu.ar</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">Hello everybody,<div><br></div><div>I am trying to plot Channel spectra and maps, using pop_spectopom. I use the default parameters set when the window opens but I get an error: "pwelch: arg 2 (window) must be integer > 3. Error ocurred in function pwelch() al line 493" </div><div><br></div><div>In matlab commands windows I see: </div><div>       Pop_spectopo: finding data discontinuities </div><div>       Selecting the first 15.0% of data for analysis...</div><div>       Computing spectra (window length 2.560164e+02; fft length: 2.560164e+02; overlap 0): </div><div><br></div><div>My data is a continuous and long (sleep) dataset that was loaded from a .edf file, sampled at 256 Hz. I wonder if it is ok that window lenght is  2.560164e+02 by default?</div><div>Any suggestions?</div><div><br></div><div>Thanks,</div><div><br></div><div>Agustín Solano</div></div>
<br>______________________________<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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_981700950599831499gmail_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>