Dear Bhismadev,
> i am trying to estimate a simple correlation (using contrast images
> from individual subjects and individual scores on a questionnaire) in
> second-level using bayesian estimation, and i keep coming up with
> this error
>
> [...]
> ??? Conversion to unknown from double is not possible.
>
> Error in ==> /app/spm2/spm_spm_Bayes.m
> On line 338 ==> PPM.Cb(v,v)= P{2}.C(j,j);
> [...]
this is a bug in the <sparse> function in Matlab 6.5.0 (R13). Klaas
fixed it for SPM2 and SPM5b:
http://www.jiscmail.ac.uk/cgi-bin/wa.exe?A2=ind0505&L=SPM&P=R46336&I=-3
>> This function previously crashed when run by MATLAB 6.5.0 R13 due
>> to a bug of this MATLAB version in dealing with sparse matrices.
>> The code now reverts to full matrices if this particular version of
>> MATLAB is detected. In this case, the user is warned that large
>> data sets could cause memory problems.
so hopefully you just need to update your SPM2 installation with files
from:
ftp://ftp.fil.ion.ucl.ac.uk/spm/spm2_updates/
Best wishes,
Guillaume.
|