<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I believe you can do that with the following command:<br><br>[spectra,freqs,speccomp,contrib,specstd] = spectopo(ALLEEG(set).data(channel,datapoint1:datapoint2), frames, srate, 'freqrange', [2 100]);<br>
<br></div>for your dataset "set" and channel "channel".<br></div>datapoint1 should be the initial timepoint and datapoint2 the final.<br><br></div>Be careful with the number of frames. If datapoint2 - datapoint1 is different from "frames" the function will give an error.<br>
</div>(Usually it is because of a difference of 1, e.g. if datapoint2 = 5000 and datapoint1 = 2000, there are 3001 frames, not 3000).<br></div>"srate" is the sampling of your data and "freqrange, []" is the range of frequencies you want to compute the PSD.<br>
<br></div>I hope this helps,<br></div>Best regards,<br><br></div>Gabriel Costa<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 4:32 PM, Giovanni Maccaferri <span dir="ltr"><<a href="mailto:giovanni.maccaferri@smail.inf.fh-bonn-rhein-sieg.de" target="_blank">giovanni.maccaferri@smail.inf.fh-bonn-rhein-sieg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello everyone,<br>
<br>
i need help with the Toolbox...I want to calculate the PSD for one Channel in one frequency over a Timeline. Example: PSD for Channel 'FZ', Frequency 10 Hz , Time 20-30 Seconds<br>
<br>
Is this possible or a way to do that?<br>
<br>
<br>
Best regards,<br>
<br>
Giovanni Maccaferri<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Giovanni Maccaferri<br>
<br>
______________________________<u></u>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/<u></u>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.<u></u>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" target="_blank">eeglablist-request@sccn.ucsd.<u></u>edu</a><br>
</font></span></blockquote></div><br></div>