How to sum data and combine with date?

1 次查看(过去 30 天)
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?

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by