Average matrices by limiting the content
2 views (last 30 days)
Show older comments
Commented: Elaheh on 4 Apr 2018
I have two columns (Block,1,2,3; and Type, 6,7,8,12,13,14). Also, I have 10 columns of Reaction times for 10 people. The number of rows is 399 for each block, meaning 399 words in each block (399*3 total). I need to average all the 6 types for each block separately for all columns. I have come up with the following script for Block 1 , Type 6 but it seems it does not select only the reaction times in the first block and type 6.
if Block(k,r)==1 && Type(k,r)==6
Find more on Math Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!