Dear Douglas,

The file is created on a mac using the open -e command. I’ve tried running your command:

cat whiplash.fsgd | sed 's/\r/\n/g' > new.whiplash.fsgd

However, this makes the file unreadable for FreeSurfer. Any ideas?

Thank you in advance,

Robby


Date: Thu, 21 Aug 2014 13:30:19 -0400
From: Douglas N Greve <greve@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] GLM: Error Matric-Scale
To: freesurfer@nmr.mgh.harvard.edu
Message-ID: <53F62CAB.1060307@nmr.mgh.harvard.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


It looks like your fsgd file may have been created on a windows 
computer. Is that possible? Try reformatting it in linux or mac.

doug

On 08/20/2014 12:58 PM, Robby De Pauw wrote:







Hi there FreeSurfer

When trying the GLM-analysis I keep getting the following error. Could 
you help me with fixing it?

ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08
--------------------------------
Possible problem with experimental design:
Check for duplicate entries and/or lack of range of
continuous variables within a class.
If you seek help with this problem, make sure to send:
1. Your command line:
mri_glmfit --y lh.whiplash.thickness.10B.mgh --fsgd whiplash.fsgd dods 
--C group_diff.mtx --surf fsaverage lh --cortex --glmdir 
lh.whiplash.glmdir
2. The FSGD file (if using one)
3. And the design matrix above

Thank you in advance,


Robby


Robby De Pauw, dra.
*Ghent University*
Department of Physiotherapy and Rehabilitation Sciences
3B3
De Pintelaan 185
B-9000 Ghent

Robby.DePauw@Ugent.be <mailto:Robby.DePauw@Ugent.be>







_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Robby De Pauw, dra.
Ghent University
Department of Physiotherapy and Rehabilitation Sciences
3B3
De Pintelaan 185
B-9000 Ghent

Robby.DePauw@Ugent.be





On 22 Aug 2014, at 18:00, freesurfer-request@nmr.mgh.harvard.edu wrote:

Re: [Freesurfer] GLM: Error Matric-Scale