Unable to denoise data on CONN toolbox

14 views (last 30 days)
Ross King
Ross King on 7 Mar 2023
Commented: Ross King on 19 Mar 2023
I am trying to denoise my data using the CONN toolbox. I have pre-processed the fMRI data of 11 subjects and I then clicked "Done" and start on the "ready to run Setup pipeline," window. I am following the video tutorial they provided on their website but the error message "Index exceeds the number of array elements. Index must not exceed 0" when I do this. I am not sure how to fix this or why this is happening. The only difference between what I am doing and the video tutorial is that I have fewer subjects.

Answers (1)

Amit Dhakite
Amit Dhakite on 15 Mar 2023
Hi Ross,
I understand that you are attempting to denoise data using the CONN toolbox, but have run into an error related to accessing array indices that are out of range.
This error message typically appears when attempting to access an array index that is greater than the size of the array.
For example:
arr = [];
disp(arr(1));
Index exceeds the number of array elements. Index must not exceed 0.
Since you are following a video tutorial with a varying number of subjects, it may be useful to debug your code and ensure that you are not accessing any out-of-range indices.
  1 Comment
Ross King
Ross King on 19 Mar 2023
I think the problem was that I didn't upload the structural MRI data too.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!