Can I index into a timeseries using time?

13 visualizaciones (últimos 30 días)
John Petersen
John Petersen el 20 de Jul. de 2017
Respondida: Andrei Bobrov el 20 de Jul. de 2017
I have a timeseries and I want to index into the timeseries using time to get the data. Is there an elegant way or do you have to brute force it by comparing the time you want with the time of the timeseries and then use the resulting index to find the data you want?

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 20 de Jul. de 2017
use your data as timetable and use retime and timerange.

Categorías

Más información sobre Time Series en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by