[Eeglablist] Fw: gaverager

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Jan 26 14:49:28 PST 2017

Dear Zahra,

Sounds like you are asking question about ERPLAB? I have never used it so I
can't advise you. Sorry.
I think ERPLAB has their own community or support, no? You'd better ask


On Thu, Jan 26, 2017 at 6:17 AM, zahra fotovatnia <fotovatnia at yahoo.com>

> Dear Makoto,
> This question might sound very simple to you but I just started using
> Matlab and EEG. I apologize for my email already.
> I am trying to write a script for loading three averaged .erp files
> (411,424,425) so that I could average them to make one grand-averaged erp
> file. The problem seems to be that I cannot keep the three erp files
>  active. I would like to save the averaged file at the end. I would highly
> appreciate your help.
> Best regards,
> Zahra
> ERP = pop_loaderp('filename','411.erp','filepath','C:\Users\...');
> ERP = pop_loaderp('filename','424.erp','filepath','C:\Users..');
> ERP = pop_loaderp('filename','425.erp','filepath','C:\Users...');
> ERP = pop_gaverager(ALLERP,'Criterion','good','ERPindex',
> 1:3,'Stdev','on');
> pop_savemyerp(ERP,'erpname', 'four', 'filename', 'four.erp', 'filepath',
> 'C:\Users...', 'Warning', 'on');

Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20170126/1e31460b/attachment.html>

More information about the eeglablist mailing list