How to sum data and combine with date?

1 visualización (últimos 30 días)
Saurav Karmakar
Saurav Karmakar el 6 de Jul. de 2020
Comentada: Saurav Karmakar el 6 de Jul. de 2020
I have Confirmed Cases data from different states on the same date and I want to get total Confirmed Cases of that date. How to get that?

Respuesta aceptada

madhan ravi
madhan ravi el 6 de Jul. de 2020
retime() use 'daily' and 'sum' option.
  3 comentarios
madhan ravi
madhan ravi el 6 de Jul. de 2020
You should convert your data to a timetable.
Saurav Karmakar
Saurav Karmakar el 6 de Jul. de 2020
Thanks it worked! But I had to remove the States because it wasn't numeric. How to aggretate data according to States also?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by