Ex 2: Helper functions

c102.dat - A layout file for the plotEF function. Place this file in the same folder as the plotEF function.

plotEF.m - A topographic (2D) plotting function for MEG evoked responses.

nm306labels.txt - Channel labels. Place this file in the same folder as the plotEF function.

find_trgs.m - Here's a simple example on how to find the triggers for all events. You may use also the variable avestart and aveend to pick the time window. After averaging, remember to use the correct time vector for your plots.