How to sum data and combine with date?

1 view (last 30 days)
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?

Accepted Answer

madhan ravi
madhan ravi on 6 Jul 2020
retime() use 'daily' and 'sum' option.
  3 Comments
madhan ravi
madhan ravi on 6 Jul 2020
You should convert your data to a timetable.
Saurav Karmakar
Saurav Karmakar on 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?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!