I have a single subject data(T1w and rs-fMRI BOLD). I am wanting to generate functional connecitivty matrix after preprocessing the raw fMRI. I already used CONN toolbox to do the entire preprocessing. I have now completed the first-level analysis as well.
Since I am wanting to calculate FC matrix, I have computed ROI-to-ROI connectivty during first-level analysis. I belieive this is the correct way forward. I am having the output file named "resultsROI_Subject###_Condition###.mat". Can someone please show me how to compute FC matrix values using this file.
I am extracting 'Z' values from "resultsROI_Subject###_Condition###.mat". I am then calculating correlation coefficients of Z using MATLAB 'corrcoef' function. So the resultant matrix that I get after doing this MATLAB operation, is it the FC matrix that I want?
Here is the Z matrix obtained after running CONN preprocessing pipeline. Z is of size (RoI$\times$RoI). Here, the number of RoI is 105. Z represents Fischer-transformed correlation coefficient between each source and target RoI.
Here is the result after applying MATLAB tanh function.
MATLAB code ->
Z_tanh = tanh(Z);