Hi Ciara,
your contrast vector has to have as many elements as there are columns
in your design matrix, otherwise the contrast can't be computed (a
contrast value of a voxel is c .* B, where c is the contrast vector and
beta the vector of regression coefficients after the GLM is estimated).
Good luck,
Bas
Ciara McCabe schreef:
> Dear List
>
> I'm nearly there with SPM5 ! but have these errors now when I run my batch file
>
> ??? Error using ==> spm_FcUtil
> not contrast dim. in spm_FcUtil c
>
> Error in ==> /home/cmccabe/Reward/ANALYSIS/AD/spm_batchnewchoc2.m
> On line 255 ==> SPM.xCon(end + 1) = spm_FcUtil('Set',cname,'T','c',c(:),SPM.xX.xKXs);
>
> any ideas greatly appreciated
> thanks
> Ciara
>
>
> Dr Ciara McCabe
> University of Oxford
> Dept of Psychiatry
> Neuroscience Building
> Warneford Hospital
> Oxford
> OX3 7JX
> Telephone (01865)-223778
> mob: 07966035631
>
> [log in to unmask]
> http://users.ox.ac.uk/~psyc0288/perl/ciara_mcabe.html
>
>
--
--------------------------------------------------
Dr. S.F.W. Neggers
Division of Brain Research
Rudolf Magnus Institute for Neuroscience
Utrecht University Medical Center
Visiting : Heidelberglaan 100, 3584 CX Utrecht
Room B.01.1.03
Mail : Huispost B.01.206, P.O. Box 85500
3508 GA Utrecht, the Netherlands
Tel : +31 (0)30 2509609
Fax : +31 (0)30 2505443
E-mail : [log in to unmask]
Web : http://www.fmri.nl/people/bas.html
--------------------------------------------------
|