Hello,
I just started to do my first resting-state analysis using the REST/DPARSF toolbox. I want to do a seed based functional connectivity analysis. But unfortunatley the an error occurs after I've extracted the ROI time course (for details see below). I am using a Mac OS X (Version 10.8.2), Matlab 2012b, SPM8, REST (Version 1.8), DPARSF 2.1. Any suggestions?
Extracting ROI time courses over, elapsed time: 10.01 seconds.
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in DPARSF_run (line 1209)
Covariables=[Covariables,theROITimeCourses];
Error in DPARSF>pushbuttonRun_Callback (line 976)
[Error]=DPARSF_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSF (line 43)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Forums
Re: Error using horzcat - Seed-based Functional Connectivity
Covariables=[Covariables,theROITimeCourses];
You need to make sure that your covariates and ROI series are equal length. If the ROI time course contains 100 time points, then your covariates must have 100 time points too.
Re: Error using horzcat - Seed-based Functional Connectivity
Yeah, please make sure at which step you removed some first time points. Could be a problem in your realignment parameter files (rp*.txt), the time points there are different.