[Eeglablist] Reshaping EEGLAB EEG structure for command line filtering

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Mon Mar 24 17:12:08 PDT 2014


Dear Cristiina,

Before epoching and in the command line,

y = EEG.data;
y=filtfilt(b,1,x);
EEG.data = y;

Makoto


2014-03-18 5:10 GMT-07:00 Cristiina Tanner <cristiina.tanner at gmail.com>:

> Hi,
>
> I have imported an ANT EEProbe .cnt-file (with triggers) to Matlab through
> EEGLAB. I want to run customized filters on the EEG data through command
> line. Having computed the filter coefficients, i.e., b, I want to use
> filtfilt-function to run a zero-phase FIR filter on the data, i.e.,
> y=filtfilt(b,1,x). How do I reshape (rewrite) the EEGLAB EEG structure to
> be compatible with the function? The EEG data is a 64-channel continuous
> EEG.
>
> Kind regards
> Cristiina
>
> _______________________________________________
> 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
>



-- 
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/20140324/3288fe6d/attachment.html>


More information about the eeglablist mailing list