Can I index into a timeseries using time?

조회 수: 12 (최근 30일)
John Petersen
John Petersen 2017년 7월 20일
답변: Andrei Bobrov 2017년 7월 20일
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?

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2017년 7월 20일
use your data as timetable and use retime and timerange.

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by