how to sum columns between two dates in a table
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ishak Oussama
el 25 de En. de 2019
Comentada: Ishak Oussama
el 26 de En. de 2019
2 comentarios
Walter Roberson
el 26 de En. de 2019
Your questions are easier to read when posted as text instead of as image of text.
Respuesta aceptada
Walter Roberson
el 26 de En. de 2019
mask = YourTable(:,1) >= start_date & YourTable(:,1) <= end_date;
Table_subset = YourTable(mask,:);
and now you can do the totaling that you need.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Type Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!