[Eeglablist] re : energy and power features

Vadlamani Samhitha vadlamani.samhitha at gmail.com
Wed Sep 21 03:22:57 PDT 2016


Hi list . I am supposed to compute energy and power features for epoched
data-set ( matrix of the format , channels x frames x epochs ) . I would
like to know , if the approach mentioned below is correct for computing
energy and power. Thank you.

*energy:*

for k=1:epochs

    for i=1:channels

        for j=1:frames

            energy(i,1,k)=sum([EEG.icaact(i,j,k)]*[EEG.icaact(i,j,k)]);

        end

    end

end


*power:*


for k=1:epochs

    for i=1:channels

          for j=1:frames

        power(i,1,k)=sum([EEG.icaact(i,j,k)]*[EEG.icaact(i,j,k)])/frames;

        end

    end

end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160921/7d55d3d9/attachment.html>


More information about the eeglablist mailing list