Pleae resmaple your mask or ROI definition file first!

Hi, Cleofé Peña Gómez!
     1. You need to resample your mask or ROI file to the dimension of your functional images.
          There were three ways: (1) use SONG Xiao-Wei's program, from http://restfmri.net/forum/node/78                              

                                                 (2) use my program, from http://restfmri.net/forum/node/81   (the third one)
                                                 (3) use SPM5:
                                                                       a. Click "Coregister"
                                                                       b. Click "New "Coreg: Reslice""
                                                                       c. "Image Defining Space": choose one of your functional image. e.g. your normalized functional image or image after Detrend and Filter.
                                                                       d. "Images to Reslice": choose the mask file or ROI definition file. e.g. BrainMask_05_61x73x61.img
                                                                       e. "Reslice Options" -> "Interpolation": choose "Nearest neighbour"
                                                                       f. Just click "Run". Then you will get the resmapled mask or ROI file with a surfix of "r".
      

REST functional connectivity error 'Matirix dimensions'

Hi, REST exparts

 I'm trying to analyze my resting state fMRI data using by REST functional connectivity. I've tried many times, but I always encount this error.

Exception occured
Error using ==>eq
Matrix dimensions must agree

I think that dimensions of my data don't match. Dimensions of my data are 79X95X69(Vox size 2X2X2, smooth 6mm). How can I solve this probrem? I'm sorry I'm just a biginner.

 Thanks in advance.
Sincerely,
 Yuki