Borrar filtros
Borrar filtros

Calculate Total Time accumulation based on specific data conditions.

4 visualizaciones (últimos 30 días)
Hi,
Seems like there should be simple solution to this but something is not obvious to me.
I have a table with timestamped data. How do I calculate the total duration of time when specific conditions are meet (i.e. the data in the 2nd columen is equal to a certain number)?
"2019-04-04 02:55:32.277" 5
"2019-04-04 02:55:37.287" 5
"2019-04-04 02:56:11.277" 3
"2019-04-04 02:56:12.277" 3
"2019-04-04 02:56:17.267" 3
"2019-04-04 02:56:18.283" 5
"2019-04-04 03:00:06.107" 5
"2019-04-04 03:00:07.103" 5
"2019-04-04 03:01:07.133" 3
"2019-04-04 03:01:08.130" 5
Thanks

Respuestas (0)

Categorías

Más información sobre MATLAB 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!

Translated by