help > Design matrix inconsistent
Showing 1-7 of 7 posts
Jun 13, 2017 09:06 AM | Laura van Velzen
Design matrix inconsistent
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
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
Jun 13, 2017 09:06 AM | Laura van Velzen
RE: Design matrix inconsistent
I accidentally forgot to add the connectivity matrix, please find
this attached.
Kind regards,
Laura van Velzen
Originally posted by Laura van Velzen:
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
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
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:
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:
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
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
Jun 14, 2017 06:06 AM | Laura van Velzen
RE: Design matrix inconsistent
Hi Andrew,
Thank you for the reply and suggestions. I renamed the files and checked the number of matrices and this looks allright. I am still getting the same error message. However, I noticed that a few connectivity matrices contain 'NaN's. Could this be causing the problem and if so how would you recommend I deal with this?
Thanks in advance!
Best wishes,
Laura
Thank you for the reply and suggestions. I renamed the files and checked the number of matrices and this looks allright. I am still getting the same error message. However, I noticed that a few connectivity matrices contain 'NaN's. Could this be causing the problem and if so how would you recommend I deal with this?
Thanks in advance!
Best wishes,
Laura
Jun 15, 2017 12:06 PM | Andrew Zalesky
RE: Design matrix inconsistent
I don't think the NaNs are the cause of an error regarding the
design matrix being inconsistent or not found.
Have you tried providing the connectivity matrices as a mat file?
If you still cannot solve the issue and if you feel comfortable, you can send all the connectivity matrices and design matrix to me and I will take a look. Email: azalesky@unimelb.edu.au
Originally posted by Laura van Velzen:
Have you tried providing the connectivity matrices as a mat file?
If you still cannot solve the issue and if you feel comfortable, you can send all the connectivity matrices and design matrix to me and I will take a look. Email: azalesky@unimelb.edu.au
Originally posted by Laura van Velzen:
Hi Andrew,
Thank you for the reply and suggestions. I renamed the files and checked the number of matrices and this looks allright. I am still getting the same error message. However, I noticed that a few connectivity matrices contain 'NaN's. Could this be causing the problem and if so how would you recommend I deal with this?
Thanks in advance!
Best wishes,
Laura
Thank you for the reply and suggestions. I renamed the files and checked the number of matrices and this looks allright. I am still getting the same error message. However, I noticed that a few connectivity matrices contain 'NaN's. Could this be causing the problem and if so how would you recommend I deal with this?
Thanks in advance!
Best wishes,
Laura
May 14, 2019 01:05 PM | ruwan1988 - Tokyo metropolitan University
RE: Design matrix inconsistent
Dear experts,
I got the same issue with my connectivity matrices. Can you please explain how to figure this out?
I got the same issue with my connectivity matrices. Can you please explain how to figure this out?
May 15, 2019 01:05 AM | Andrew Zalesky
RE: Design matrix inconsistent
Have your tried uploading your connectivity matrices as a single
mat file?
What exactly is the issue?
Originally posted by ruwan1988:
What exactly is the issue?
Originally posted by ruwan1988:
Dear experts,
I got the same issue with my connectivity matrices. Can you please explain how to figure this out?
I got the same issue with my connectivity matrices. Can you please explain how to figure this out?