how to sum columns between two dates in a table

2 Commenti

Your questions are easier to read when posted as text instead of as image of text.
Sorry, I had a keyboard problem.

Accedi per commentare.

 Risposta accettata

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

Più risposte (0)

Categorie

Prodotti

Release

R2014b

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by