Print

Print


Dear Deng,

you need to find out the coordinates in voxel space by:
inv(SPM.VM.mat)*[-22 -10 52 1]'
which gives:
    57
    59
    63
     1
when assuming that SPM.VM.mat looks like this:
    -2     0     0    92
     0     2     0  -128
     0     0     2   -74
     0     0     0     1

Then you can extract the betas using:
spm_get_data(SPM.Vbeta,[57 59 63]')

Regards,
Thilo


On Wed, 2014-03-05 at 13:04 +0000, SUBSCRIBE SPM Deng Wang wrote:
> Dear all,
> 
> Does anyone know how to extract beta weights for a specific coordinate (for example MNI: x=-22;y=-10;z=52 or Talairach: x=-22;y=-16;z=49) in SPM8? I would appreciate it if you could reply to me.
> 
> Best,
> Deng