Dear Luis,
>??? Index exceeds matrix dimensions.
>Error in ==> /apps/matlab4/toolbox/matlab/elmat/meshgrid.m On line 38 ==>
yy = yy(:,ones(1, nx));
>Error in ==> /usr/local/src/matlab/spm96/spm_invFcdf.m On line 49 ==>
df = meshgrid(df,1:prod(size(p)))';
>Error in ==> /usr/local/src/matlab/spm96/spm_spm.m On line 166 ==> UF
= spm_invFcdf(1 - UFp,Fdf)
My guess is that you did not call spm.m, the spm startup script. This
startup script defines some global variables that are i) necessary for SPM
and ii) can be different for PET or fMRI. UFp, the raw treshold for the
F-statistic is an example. Try to call <spm fmri> and then spm_spm (....).
-Christian
Dr Christian Büchel
Functional Imaging Laboratory
Wellcome Department of Cognitive Neurology
12 Queen Square
London WC1N 3BG, UK
Tel.:+44-171-833-7483
Fax.: +44-171-813-1420
email: [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|