Resample timeseries with maximum values

4 views (last 30 days)
M.J. Glasbergen
M.J. Glasbergen on 12 Feb 2014
Answered: BhaTTa on 26 Oct 2024 at 17:52
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?

Answers (1)

BhaTTa
BhaTTa on 26 Oct 2024 at 17:52
Please refer to 'retime' function to achieve above requirement.

Categories

Find more on Time Series in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!