Resample timeseries with maximum values

I've got 9 timeseries from a sensor, on a one second time interval. I need to resample each one of those timeseries to a thirty second interval, but instead of a linear interpolation, I need the maximum value for that thirty second interval, based on the data in the original timeseries. I wan't to avoid having to loop through all data to achieve this, but up until now I can't find another solution. Any ideas?

回答 (1 件)

BhaTTa
BhaTTa 2024 年 10 月 26 日

0 投票

Please refer to 'retime' function to achieve above requirement.

カテゴリ

ヘルプ センター および File ExchangeTime Series についてさらに検索

製品

質問済み:

2014 年 2 月 12 日

回答済み:

2024 年 10 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by