Hi Huibin,<br><br>Regarding the algorithm used: <a href="http://sccn.ucsd.edu/eeglab/allfunctions/spectopo.m">http://sccn.ucsd.edu/eeglab/allfunctions/spectopo.m</a> says "If available, uses pwelch() from the Matlab signal processing toolbox, else the EEGLAB spec() function."<br>
<br>Best,<br>Steve Politzer-Ahles<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 7:55 PM, Nikola Tesla <span dir="ltr"><<a href="mailto:420247417@qq.com">420247417@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Dear Sir,</div><div> The usage of function spectopo() is :</div><div> >> spectopo(data, frames, srate);</div> >>
[spectra,freqs,speccomp,contrib,specstd] = ...<br>
spectopo(data, frames, srate, 'key1','val1', 'key2','val2' ...);<br><div>And data = If 2-D (nchans,time_points); % may be a continuous single epoch,</div>
else a set of concatenated data epochs, else a 3-D set of data
<br> epochs (nchans,frames,epochs)<br> frames = frames
per epoch {default|0 -> data length}<br> srate = sampling rate per
channel (Hz)<br><br><div>And now I have a epoch from Pz. The name of the variable is 'a' . The fs of my experiment is 500 per second. The size of variable 'a' is 1*600, which means the total time of a epoch is 1200ms. </div>
<div>Now I want to plot the mean log spectrum of this epoch. So I write spectopo(a, 600, 500) in the command line.</div><div>Am I right? I also want to know the algorithm of spectopo(). Is it pwelch ?</div><div><br>
</div><div>Yours,</div><div> Hui-bin Jia</div><div><br></div><br><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"><br>-- <br>Stephen Politzer-Ahles<br>
University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/">http://www.linguistics.ku.edu/</a><br>