[Eeglablist] Global field power for individual epoch

#HENG JIAMIN GLADYS# JHENG007 at e.ntu.edu.sg
Wed May 20 03:54:01 PDT 2020


Dear EEGlab list,

I understand that we can obtain global field power (GFP) by using the ML std() of the averaged signal, as previously mentioned in this post: https://sccn.ucsd.edu/pipermail/eeglablist/2008/002132.html

This calculates the GFP of all epochs, and the output has a 2D matrix (1 x EEG.times).

I would also like to obtain the GFP of individual epochs, and have tried the following code, but it returns a single value instead of a 2D matrix:

           for e = 1:size(EEG.data,3)
               gfp(:,e) = std(mean(EEG.data(:,:,e)));
           end

Please kindly advise & thanks in advance!

Best,
Gladys




More information about the eeglablist mailing list