How to sum data and combine with date?

1 Ansicht (letzte 30 Tage)
Saurav Karmakar
Saurav Karmakar am 6 Jul. 2020
Kommentiert: Saurav Karmakar am 6 Jul. 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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by