Hi,
On Fri, Nov 25, 2011 at 9:20 AM, Michael Erb
<[log in to unmask]> wrote:
> Sorry,
> voxelsize=sqrt(sum(mat.^2))
> should be
> voxelsize=sqrt(sum(mat(1:3,1:3).^2))
There's a little explanation here:
http://mail.scipy.org/pipermail/nipy-devel/2011-March/005696.html
(careful of difference between python 0-based and matlab 1-based indexing).
Best,
Matthew
|