Dear Aviva, which SPM version are you using, which MATLAB version? Or are you trying to test just one scan of one single subject? This will not work, to do a statistics you need more than one observation (either from the same subject, or from other subjects). Hope this helps, Volkmar On Thu, 15 Sep 2005, No Name wrote: > Hello, > > I am new to SPM and am trying to understand what is going wrong, but when > I pull up the code to this error message I can't figure out what the issue > is. I am simply trying to do a one-way t test on a particular PET scan to > see if there are any areas of unusual activation. When I try to do the > first step, I press Basic Models button, then select the img file and then > I get this error message in the MATLAB prompt. > > SPM2: spm_spm_ui (v2.49) 12:41:52 - 15/09/2005 > ======================================================================== > ??? Attempted to access bL(4); index out of bounds because numel(bL)=3. > > Error in ==> spm_spm_ui at 823 > bFI = [bL(1),bL(2:3)&~bL(4),bL(4),bL([2,3])&bL(4)]; > > ??? Error while evaluating uicontrol Callback. > > Any help would be enormously appreciated. > > Thanks, > > Aviva Olsavsky > > -- Volkmar Glauche - Department of Neurology [log in to unmask] Universitaetsklinikum Freiburg Phone 49(0)761-270-5331 Breisacher Str. 64 Fax 49(0)761-270-5416 79106 Freiburg