Hi Daphne,

I've attached a small matlab function that should meet your needs.  Let me know if you have any questions.

Cheers,
Michael

--
Gazzaley Lab
Department of Neurology
University of California, San Francisco

On Fri, Dec 17, 2010 at 9:53 AM, Daphne Garcia <[log in to unmask]> wrote:
Dear SPM experts,

I am trying to find a way of creating a mask for a spherical ROI in SPM5. I wish to make a 10 mm sphere around a voxel at a specific coordinate so that I can apply the mask to other analyses.

Would anyone be able to help me create a mask for a spherical ROI?

Thanks,

Daphne