Hi Boris,
although I haven't used the parametric modulation in SPM5 this looks like
an error message that I came across in SPM2. In my case it was caused by
the fact that my vector of parametric values was either a column of a row
vector, and SPM was expecting it the other way (Unfortunately I can't
remember which one was right). So, try to transpose your parametric
vector, i.e. mod(1).param=[AV1]', and see if that solves the problem.
Cheers,
Jan
PS: And yes, each onset should have one corresponding parametric value ...
boris suchan wrote:
> Hi all,
>
> I am trying to setup a model with parametric modulation using the
> multiple condition feature in SPM5 …
>
>
>
> This is the way I define my onsets and also my modulation parameters:
>
>
>
> To make it easier I used the onset vectors as values for parametric
> modulation…
>
>
>
> names{1}='ao',
>
> onsets{1}= [AV1],
>
> durations{1}=[zeros(size(AV1))],
>
> mod(1).name='ao', mod(1).param=[AV1], mod(1).poly=1,
>
>
>
>
>
>
>
>
>
> names{2}='io',
>
> onsets{2}= [AV2],
>
> durations{2}=[zeros(size(AV2))],
>
> mod(2).name='io', mod(2).param=[AV2], mod(2).poly=1,
>
>
>
>
>
>
>
> But when setting up the model I get the following error message:
>
>
>
> SPM5: spm_fMRI_design (v$Rev: 539 $) 14:57:00 - 25/10/2006
>
> ----------------------------------------------------------------
>
> Error running job:
>
> Error using ==> horzcat
>
> All matrices on a row in the bracketed expression must have the
>
> same number of rows.
>
>
>
> I have no idea where I have to look for the error…
>
>
>
> Each onset should have one parameter for the modulation ???
>
>
>
> Many thanks
>
>
>
>
>
> boris
>
>
>
> Priv.-Doz. Dr. Boris Suchan
>
> Institute of Cognitive Neuroscience
>
> Ruhr University Bochum
>
> Universitätsstr. 150
>
> 44780 Bochum
>
> GAFO 05/613
>
> Tel.: + 49 234 3227575
>
> Fax: + 49 234 3214622
>
> mailto: [log in to unmask] <mailto:[log in to unmask]>
>
> http://www.ruhr-uni-bochum.de/neuropsy/mitarbeiter/boris_suchan.html
>
>
>
--
Jan Gläscher, Ph.D. Caltech Brain Imaging Center
+1 (626) 395-4976 (office) Caltech, Broad Center, M/C 114-96
+1 (626) 395-2000 (fax) 1200 California Blvd
[log in to unmask] Pasadena, CA 91125
|