Dear Angela,
have a look at the spm_summarise function:
beta = spm_summarise('beta_0001.img','small_region.img');
Best regards,
Guillaume.
On 24/05/14 19:01, Angela J wrote:
> Dear SPMers,
>
> I created a binary mask of a small region and wanted to extract all betas from each subject's beta_0001.img that are within this mask. Is there a way to do this using matlab code?
>
> Thank you in advance,
> AJ
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|