关于去除头动的影响的一个小问题

我想请问一下rest中fc.m关于去除头动干扰的源码程序
if ACovariablesDef.polort>=0,
thePolOrt =(1:sampleLength)';
thePolOrt =repmat(thePolOrt, [1, (1+ACovariablesDef.polort)]);
for x=1:(ACovariablesDef.polort+1),
thePolOrt(:, x) =thePolOrt(:, x).^(x-1) ;
end
end
% switch ACovariablesDef.polort,
% case 0,
% thePolOrt =ones(sampleLength, 1);
% case 1,

Out of memory--Error message for running ReHo and FC tools

Dear REST experters:

      I am new to run REST toolbox. When running ReHO and FC, get the following error messages. I don't know what wrong I did. BTW, do you have some stand along program or easy tools for extracting the time course data. Thanks in advance.

Haibo

error messages: