Can I index into a timeseries using time?

10 ビュー (過去 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 Center および File ExchangeTime Series についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by