Info
此问题已关闭。 请重新打开它进行编辑或回答。
How do I sum the points from all the innings of each game on each team?
1 次查看(过去 30 天)
显示 更早的评论
How do i sum the points from all the innings of each game on each team? I need code tha says gameTotals = [.........]
0 个评论
回答(1 个)
David Hill
2020-7-24
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!