when doing two sample t-test

Chaogan,
I am sorry to distrub you again.
WHEN I am perfroming the two sample t-test, errors jumped out. I am not familiar with MATLAB, thus, this frustrated me a lot.
 
----------------------------------
Two Sapmle T Test Calculating...
.......Undefined function 'fcdf' for input arguments of type 'double'.
 
Error in rest_ttest2cov_Image (line 99)
                    P =1-fcdf(F,1,Df_E);
 
Error in rest_ttest2cov_gui>btnCompute_Callback (line 146)
rest_ttest2cov_Image(DependentDirs,OutputName,...
 
Error in gui_mainfcn (line 96)
        feval(varargin{:});
 
Error in rest_ttest2cov_gui (line 27)
    gui_mainfcn(gui_State, varargin{:});
 
Error while evaluating uicontrol Callback
 

I guess, the problem lies on the mask dimensions are not consistently.

but, i don't know how to resample the mask in REST.

Sorry for my dummy quesitons on MATLAB.

Hi,
"Undefined function 'fcdf'"
means you didn't install Statistical Analysis Toolbox. Please install it for MATLAB.

Best,

Chao-Gan