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 = [.........]

回答(1 个)

David Hill
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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by