I am trying to add the rows that have same game column. For example, for same rows like game value =0, the output should be 0.633+13.7167+16.3333. How can we do that?

 채택된 답변

Simon Chan
Simon Chan 2021년 12월 25일

0 개 추천

Put your data into a table with Variable Names 'Game' and 'Time', then use function groupsummary to sum up the values
groupsummary(T,"Game","sum") % T is your table

추가 답변 (0개)

카테고리

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

태그

질문:

2021년 12월 25일

댓글:

2021년 12월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by