<div dir="ltr">Dear Omar,<div><br></div><div>Sorry for slow response.</div><div>You have to use the spectopo() function in the command line to obtain the raw values. There were related posts in the past in which I have been repeatedly showing the following. Hope it helps.</div><div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div style="font-size:12.5714282989502px">%%%%%%%%%%%%%%%%%%%</div><div style="font-size:12.5714282989502px"><div style="font-size:14px"><div>% for your epoched data, channel 2</div><div>[spectra,freqs] = <span class="">spectopo</span>(EEG.data(2,:,:), 0, EEG.srate);</div><div><br></div><div>% delta=1-4, theta=4-8, <span class="">alpha</span>=8-13, beta=13-30, gamma=30-80</div><div>deltaIdx = find(freqs>1 & freqs<4);</div><div>thetaIdx = find(freqs>4 & freqs<8);</div><div><span class="">alphaIdx</span> = find(freqs>8 & freqs<13);</div><div>betaIdx = find(freqs>13 & freqs<30);</div><div>gammaIdx = find(freqs>30 & freqs<80);</div><div><br></div><div>% compute absolute power</div><div>deltaPower = 10^(mean(spectra(deltaIdx))/10);</div><div>thetaPower = 10^(mean(spectra(thetaIdx))/10);</div><div>alphaPower = 10^(mean(spectra(<span class="">alphaIdx</span>))/10);</div><div>betaPower = 10^(mean(spectra(betaIdx))/10);</div><div>gammaPower = 10^(mean(spectra(gammaIdx))/10);</div></div><div style="font-size:14px">%%%%%%%%%%%%%%%%%</div><div style="font-size:14px"><br></div><div style="font-size:14px"><div style="font-family:arial;font-size:small">If you don't want to code, maybe you want to try the following toolbox.</div><div style="font-family:arial;font-size:small"><a href="http://www.poil.dk/s/#.VDRGNZTWXNU" target="_blank">http://www.poil.dk/s/#.VDRGNZTWXNU</a></div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">Makoto</div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 12:24 PM, Omar Ortega <span dir="ltr"><<a href="mailto:tourette95@gmail.com" target="_blank">tourette95@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there!<div><br></div><div>I have a question about computing psd,</div><div><br></div><div>I loaded an neuroscan .ee file and I wan to compute the power spectral density, I saw in webpage that is possible to do that by using the plot function, the problemm is:</div><div><br></div><div>I clicked on plot function, but how can i get that into numerical data?</div><div><br></div><div>I need to export the psd in text file in order to work whit it, so first i hope using plot function from eeglab was enough to get the psd.</div><div><br></div><div><br></div><div>help please!!!</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 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>