how to sum columns between two dates in a table

2 次查看(过去 30 天)

采纳的回答

Walter Roberson
Walter Roberson 2019-1-26
mask = YourTable(:,1) >= start_date & YourTable(:,1) <= end_date;
Table_subset = YourTable(mask,:);
and now you can do the totaling that you need.

更多回答(0 个)

类别

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

标签

产品


版本

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by