<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Seetaramaraju,<br><br>You can compute different types of entropy measures including sample entropy, permutation entropy, wavelet entropy, Symmbolic Entropy at multiple scales and different threshold, <br>See few code from Mathworks:<br><br> http://uk.mathworks.com/matlabcentral/fileexchange/48574-fast-sample-entropy-saenkd-dim--r--sig-- <br><a href="http://uk.mathworks.com/matlabcentral/fileexchange/37288-multiscale-permutation-entropy--mpe-" target="_blank">http://uk.mathworks.com/matlabcentral/fileexchange/37288-multiscale-permutation-entropy--mpe-</a><br><br>regards,<br>Lal<br><br><br><br><div><hr id="stopSpelling">From: mmiyakoshi@ucsd.edu<br>Date: Tue, 5 May 2015 09:51:40 -0700<br>To: seetaramaraju.jampana@gmail.com<br>CC: eeglablist@sccn.ucsd.edu<br>Subject: Re: [Eeglablist] Entropy<br><br><div dir="ltr">Dear Seetaramaraju,<div><br></div><div>I have never computed entropy. To compute power,</div><div><br></div><div><div style="font-size:12.8000001907349px;">%%%%%%%%%%%%%%%%%%%</div><div><div style="font-size:12.8000001907349px;"><div>% for your epoched data, channel 2</div><div>[spectra,freqs] = spectopo(EEG.data(2,:,:), 0, EEG.srate);</div><div><br></div><div>% delta=1-4, theta=4-8, alpha=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>alphaIdx = 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><font color="#ff0000">% compute absolute power</font></div><div><font color="#ff0000">deltaPower = mean(10.^(spectra(deltaIdx)/10));</font></div><div><font color="#ff0000">thetaPower = mean(10.^(spectra(thetaIdx)/10));</font></div><div><font color="#ff0000">alphaPower = mean(10.^(spectra(alphaIdx)/10));</font></div><div><font color="#ff0000">betaPower = mean(10.^(spectra(betaIdx)/10));</font></div><div><font color="#ff0000">gammaPower = mean(10.^(spectra(gammaIdx)/10));</font></div></div><div style="font-size:12.8000001907349px;">%%%%%%%%%%%%%%%%%</div><div style="font-size:12.8000001907349px;"><br></div><div style="font-size:12.8000001907349px;">Check also Simon Shlomo-Poil's NBT (and ask them, haha, to make the entropy measure if they don't have it yet)</div><div style="font-size:12.8000001907349px;"><span style="font-size:12.8000001907349px;"><a href="http://www.nbtwiki.net/" target="_blank">http://www.nbtwiki.net/</a></span><br></div><div style="font-size:12.8000001907349px;"><span style="font-size:12.8000001907349px;"><br></span></div><div style="font-size:12.8000001907349px;"><span style="font-size:12.8000001907349px;">Makoto</span></div></div></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Tue, Apr 21, 2015 at 12:27 PM, seetaramaraju jampana <span dir="ltr"><<a href="mailto:seetaramaraju.jampana@gmail.com" target="_blank">seetaramaraju.jampana@gmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi,<div><br></div><div> Is there a way to calculate entropy and power of the EEG data for a single epoch. </div><div><br></div><div>Thanks,</div><div>Raju</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="ecxgmail_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>
<br>_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe@sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request@sccn.ucsd.edu</div> </div></body>
</html>