Can I index into a timeseries using time?

15 Ansichten (letzte 30 Tage)
John Petersen
John Petersen am 20 Jul. 2017
Beantwortet: Andrei Bobrov am 20 Jul. 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?

Antworten (1)

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

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by