# [Eeglablist] Entropy

Lall Hussain lall_hussain2008 at live.com
Tue May 5 10:16:14 PDT 2015

```Dear Seetaramaraju,

You can compute different types of entropy measures including sample entropy, permutation entropy, wavelet entropy, Symmbolic Entropy at multiple scales and different threshold,
See few code from Mathworks:

http://uk.mathworks.com/matlabcentral/fileexchange/48574-fast-sample-entropy-saenkd-dim--r--sig--
http://uk.mathworks.com/matlabcentral/fileexchange/37288-multiscale-permutation-entropy--mpe-

regards,
Lal

From: mmiyakoshi at ucsd.edu
Date: Tue, 5 May 2015 09:51:40 -0700
To: seetaramaraju.jampana at gmail.com
CC: eeglablist at sccn.ucsd.edu
Subject: Re: [Eeglablist] Entropy

Dear Seetaramaraju,
I have never computed entropy. To compute power,
%%%%%%%%%%%%%%%%%%%% for your epoched data, channel 2[spectra,freqs] = spectopo(EEG.data(2,:,:), 0, EEG.srate);
% delta=1-4, theta=4-8, alpha=8-13, beta=13-30, gamma=30-80deltaIdx = find(freqs>1 & freqs<4);thetaIdx = find(freqs>4 & freqs<8);alphaIdx = find(freqs>8 & freqs<13);betaIdx  = find(freqs>13 & freqs<30);gammaIdx = find(freqs>30 & freqs<80);
% compute absolute powerdeltaPower = mean(10.^(spectra(deltaIdx)/10));thetaPower = mean(10.^(spectra(thetaIdx)/10));alphaPower = mean(10.^(spectra(alphaIdx)/10));betaPower  = mean(10.^(spectra(betaIdx)/10));gammaPower = mean(10.^(spectra(gammaIdx)/10));%%%%%%%%%%%%%%%%%
Check also Simon Shlomo-Poil's NBT (and ask them, haha, to make the entropy measure if they don't have it yet)http://www.nbtwiki.net/

Makoto
On Tue, Apr 21, 2015 at 12:27 PM, seetaramaraju jampana <seetaramaraju.jampana at gmail.com> wrote:
Hi,
Is there a way to calculate entropy and power of the EEG data for a single epoch.
Thanks,Raju

_______________________________________________

Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html

To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu

For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu

--
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego

_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150505/b7762327/attachment.html>
```