Creating means in a table for a specific subnum

Hi,
I have a table with 10 variables and 3 other descriptor variables (Subnum, Condition [2], Trial [4]). So each condition has 4 trials. I want to create means across trials per Subnum. So it would be 20 means per Subnum [2 per each variable becasue of the 2 conditions]. I would be perfect if I can create 2 seperate matricies per Subnum with a row of 10 means since I have to input that variable into another script. I'm new to MATLAB so I appreciate any help.
Thanks,

 채택된 답변

the cyclist
the cyclist 2019년 8월 18일

0 개 추천

I think you might be able to do what you want using the groupsummary function.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

태그

질문:

2019년 8월 18일

답변:

2019년 8월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by