Hello,

I would like to conduct an analysis using mri_glmfit but I'm getting this error:

ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08

I am appreciated you can help me solve this problem. 

My command was:

mri_glmfit --y age9vs8ml01.mgh --fsgd new.fsgd dods --C age9vs8mlmatrix.mtx --surf fsaverage lh --cortex  --glmdir glmdir.age9vs8ml


Design matrix ------------------

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 1.000   0.000   8.000   0.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

 0.000   1.000   0.000   9.000;

--------------------------------

ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08

--------------------------------


Thanks 

Jincheng.