Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How do I sum the points from all the innings of each game on each team?

2 visualizaciones (últimos 30 días)
Dan'Chella Palmer
Dan'Chella Palmer el 24 de Jul. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
How do i sum the points from all the innings of each game on each team? I need code tha says gameTotals = [.........]

Respuestas (1)

David Hill
David Hill el 24 de Jul. de 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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by