[Eeglablist] ERP based on mulitple triggers

Stephen Politzer-Ahles spa268 at nyu.edu
Tue Sep 23 10:16:51 PDT 2014


Hi Xianghong,

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.

Best,
Steve



Stephen Politzer-Ahles
New York University, Abu Dhabi
Neuroscience of Language Lab
http://www.nyu.edu/projects/politzer-ahles/

On Tue, Sep 23, 2014 at 1:55 AM, Xianghong <xianghong at hmri.org> wrote:

> Hi,
>
> 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?
> Thanks,
> Best,
>
> Xianghong
> _______________________________________________
> 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...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140923/0a161678/attachment.html>


More information about the eeglablist mailing list