On Wed, 2 Feb 2005, Nicholas Masse wrote:
Did you forget to put an extra zero in the end column of c?
For example, if you have condition A and B, for A-B you should use:
c=[1 -1 0]
Regards.
Ze
>_Hi everyone.
>_
>_I'm using a BATCH file to design, estimate and create contrasts for a matrix that is modified from Karl Friston's spm_batch.m. The batch works perfectly designing and estimating the matrix, but when it comes time to create the contrasts for it, matlab spits out the following error:
>_
>_??? Error using ==> spm_FcUtil
>_not contrast dim. in spm_FcUtil c
>_
>_Error in ==> SavioTest at 516
>_SPM.xCon(end + 1) = spm_FcUtil('Set',cname, 'T', 'c',c(:),SPM.xX.xKXs);
>_
>_
>_I'm guessing it's something quite simple to fix, but I don't even know where to begin. Any suggestion would be great.
>_
>_~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>_Nicholas Masse, M.Sc.
>_Research Technician
>_Neurovascular Research Lab
>_School of Kinesiology
>_University of Western Ontario
>_Rm. 3110 Thames Hall
>_519.661.2111 x88526
>[log in to unmask]
>_~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>_
|