<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I have encountered a weird problem with ft_timelockanalysis. The
problem occurs only when running ft_timelockanalysis on some data from
some subjects. I get the following error:</DIV>
<DIV> </DIV>
<DIV><FONT size=2>averaging trial 239 of 252??? Error using ==>
plus</FONT></DIV>
<DIV><FONT size=2>Matrix dimensions must agree.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Error in ==> ft_timelockanalysis at 298</FONT></DIV>
<DIV><FONT size=2>s = s + dat; % compute the sum</FONT></DIV>
<DIV> </DIV>
<DIV>This error was produced running ft_timelockanalysis on data that
originated from two conditions (INCGR & INCGL), which were concatenated
using ft_appenddata (resulting in INCGRL). So, I thought it made sense
to test whether something was wrong with one of the two input datasets
(likely the second one, since the error occurs while processing one of
the last trials originating from the second dataset). So, I ran
ft_timelockanalysis on INCGR and INCGL separately, and, believe it or not,
no errors this time. But as soon as I concatenate the files
again, ft_timelockanalysis reproduces the error. Anyone any idea what
the problem could be?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV> </DIV>
<DIV>Tineke Grent - 't Jong</DIV>
<DIV> </DIV>
<DIV>Radboud University Medical Centre <SPAN
style="BACKGROUND-COLOR: rgb(255,255,0)"><FONT
style="BACKGROUND-COLOR: #ffffff">Nijmegen</FONT></SPAN></DIV>
<DIV>Donders Institute for Brain, Cognition and Behaviour </DIV>
<DIV>The Netherlands<BR></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>