Hi Doug et al.,
It appears I've encountered this problem once before:
Unfortunately there is no record of any resolution (if there was one) in the original thread, and I have no recollection of what the outcome was. Where the thread did leave off was a request for the Xtmp.mat file, so I will include the Xtmp.mat file from the analysis that worked (GoodXtmp.mat) and the one that failed (BadXtmp.mat).
The error message:
Creating Design Matrix
... creation time = 0.019 sec
DoMCFit = 1
ntptot = 2592, nX = 81, DOF = 2511
Saving X matrix to /home/chris/SEM/FS_0231/bold/FAM.self.sm4.down.rh/Xtmp.mat
Error using svd
Input to SVD must not contain NaN or Inf.
Error in cond (line 35)
s = svd(A);
Error in fast_selxavg3 (line 279)
XCond = cond(XtX);
Curiously, unless something was overlooked, the same analysis was carried out on another dataset that went through the same preprocessing steps without incident.
The Xn matrix in BadXtmp.mat contains 3 columns of NaN (:,[7,8,9]), but without knowing how those values are calculated, I can't take a principled stab at fixing the problem.
Thanks for your help,
Chris
<GoodXtmp.mat><BadXtmp.mat>_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurferThe information in this e-mail is intended only for the person to whom it isaddressed. If you believe this e-mail was sent to you in error and the e-mailcontains patient information, please contact the Partners Compliance HelpLine athttp://www.partners.org/complianceline . If the e-mail was sent to you in errorbut does not contain patient information, please contact the sender and properlydispose of the e-mail.