help > RE: Design matrix inconsistent
Jun 14, 2017  01:06 AM | Andrew Zalesky
RE: Design matrix inconsistent
Hi Laura,
The design matrix and connectivity matrix look ok.

Some things to try:

1. Rename the design matrix so that it does not contain any underscores "_". Matlab can sometimes have trouble with these on some platforms.

2. May sure that you are providing 120 connectivity matrices, since you have 120 rows in the design matrix. Do not include other files in the directory where your 120 matrices (txt files) reside. Another option is to merge the matrices into a single mat file to ensure all 120 matrices are read in. This mat file should contain a single variable of dimension 82 x 82 x 120.


Andrew


Originally posted by Laura van Velzen:
I accidentally forgot to add the connectivity matrix, please find this attached.

Kind regards,
Laura van Velzen



Originally posted by Laura van Velzen:
Dear all,

I have just started using the NBS toolbox and first off would like to say that it is great and that the manual is very clear, thanks!

However, when I try to run I keep getting the following error message: Design matrix not found or inconsistent. I have checked that the number of rows in the text file is similar to the number of connectivity matrices (N=120) and this is correct.I believe the formatting of both files is also correct. Would you mind taking a look at the design matrix and an example of a connectivity matrix attached?

Thanks very much for your help!

Kind regards,
Laura van Velzen

Threaded View

TitleAuthorDate
Laura van Velzen Jun 13, 2017
ruwan1988 May 14, 2019
Andrew Zalesky May 15, 2019
Laura van Velzen Jun 13, 2017
RE: Design matrix inconsistent
Andrew Zalesky Jun 14, 2017
Laura van Velzen Jun 14, 2017
Andrew Zalesky Jun 15, 2017