Compute average size of 2 regions in a matrix

1 view (last 30 days)
Hi all,
I would like to normalze a structural connectivity matrix (360 x 360) containing the number of streamlines between any two regions by the (average/sum) size of the respective two regions.
I do have information about the size of each brain regions (360) but what I would like to do is average the size of two regions and save that number in a Matrix (360 x 360) so that each node contains information about the average size of the two regions.
Any help would be appreciated, thanks!!
  3 Comments

Sign in to comment.

Answers (1)

Pranjal Kaura
Pranjal Kaura on 28 Dec 2021
Hey Johanna,
Could you please share a snippet of the data file? Further providing an example on that data would also be helpful.
  1 Comment
Johanna Popp
Johanna Popp on 2 Jan 2022
Hi Pranjal,
please refer to my response on the comment above for an example! Thank you for your help!

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!