[Eeglablist] ERP based on mulitple triggers
spa268 at nyu.edu
Tue Sep 23 10:16:51 PDT 2014
The EEG.event or EEG.epoch structures have the triggers, and you can use
this modify triggers based on neighboring events. For example, if you want
to find all instances of trigger 1 that are immediately followed by trigger
2, you can write a loop in MATLAB that compares EEG.event(n) to
EEG.event(n+1) and rewrites the appropriate events (for example, converts
those 1s into 12s); it's hard to say more without knowing specifically what
you want to do, but there are earlier messages on this mailing list with
sample code for doing things like this.
Alternatively, if you don't want to do it in MATLAB code, I believe the
ERPLAB plugin has a lot of options for advanced trial selection like this.
New York University, Abu Dhabi
Neuroscience of Language Lab
On Tue, Sep 23, 2014 at 1:55 AM, Xianghong <xianghong at hmri.org> wrote:
> I want to analyze the ERPs based on trigger 1, as well as other triggers
> (such as trigger 2 for correct responses only). How could I do that?
> 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...
More information about the eeglablist