Info
This question is closed. Reopen it to edit or answer.
How do I sum the points from all the innings of each game on each team?
1 view (last 30 days)
Show older comments
How do i sum the points from all the innings of each game on each team? I need code tha says gameTotals = [.........]
0 Comments
Answers (1)
David Hill
on 24 Jul 2020
readtable();
a=table2array();%look at this command
opp=sum(a(:,1:9),2);
us=sum(a(:,10:18),2);
%create new table for printing
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!