How to make two global field power figures in the same figure?

6 views (last 30 days)
if length(size(EEG.data))==3
gfp = std(mean(EEG.data,3));
end
figure;
plot(EEG.times, std(mean(EEG.data,3)), 'r', 'linewidth', 3);
I am trying to use the above codes for GFP calculation, but I have two conditions. I want to GFP of two conditions in the same figure, so it is much easier for me to make comparison for difference.
I tried to load only two datasets and use ALLEEG, but failed. Can you help share any suggestions to me? Many thanks.
gfp = std(mean(ALLEEG.data,3));

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!