Emma,
> No-one answered my query about REd hat 6.1 and Matlab 5.3 and so we tried
> using Matlab 5.2 This seemed to work using the precompiled binaries for
> image display and realignment. However I got the following error on trying
> to do slice timing:
>
> SPM99b: spm_slice_timing (v2.2) 12:00:59 - 29/11/1999
> ========================================================================
> ??? In an assignment A(matrix,matrix) = B, the number of rows in B and
> the number of elements in the A row index matrix must be the same.
>
> Error
> in ==> /home/ejw1001/spm99b/spm99b/spm_slice_timing.m On line 186 ==>
> stack(nimgo+1:size(stack,1),g) =
> linspace(stack(nimgo,g),stack(1,g),nimg-nimgo)';
I think this is a problem with linspace.m in matlab 5.2.0 - see
http://www.mailbase.ac.uk/lists/spm/1999-09/0131.html
See you soon,
Matthew
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|