A 17x17 contrast seems strange to me. If this is really the correct number, you are then including any additional regressors such as motion parameters and the constant term, which would be quite strange indeed!
How many columns are in your design matrix? The number of columns in the contrast must be equal to size(SPM.xX.X,2).
Colin Hawco, PhD
Neuranalysis Consulting
Neuroimaging analysis and consultation
www.neuranalysis.com
[log in to unmask]
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Yu Sun Chung
Sent: January-20-16 2:05 PM
To: [log in to unmask]
Subject: [SPM] SPM12: contrast manager
Dear SPM12 community,
I am trying to run matlab batch file to add F-contrast with 17X17 matrix of 0/1's for contrast weights; I've attached the script I used.
but I keep getting error saying "Failed 'contrast Manager'. I make sure that contrast weights are 17x 17, which is correct for this experiment design.
I am not sure why this error pops up.
Also, I tried to run batch file in SPM12 GUI using contrast manager just for one subject to test. but still ended up getting error. Thus, I guess this error might be related to contrast manger in SPM12?
Can anyone give me hints or help?
Many thanks in advance!
Best,
Yu Sun
|