Condense time-series signals

Function that produces a condensed version of a time-series signal
2K Downloads
Updated 1 Sep 2006

View License

This a very simple function that produces a condensed, approximate version of the time-series signal y, with each group of n adjacent points in y replaced by its average. You can use this to condense over-sampled signals so that subsequent processing will be easier and faster. Or you can use it to speed up preliminary and exploratory analysis of very large signals to locate the interesting bits, which can then be selected out of the original signal for more precise analysis. For x,y data sets, use this function on both independent variable x AND dependent variable y so that the features of y will appear at the same x values. It takes less than 0.5 second to condense a 10-million-point signal. There is also a version for matrices.

Cite As

Tom O'Haver (2024). Condense time-series signals (https://www.mathworks.com/matlabcentral/fileexchange/12123-condense-time-series-signals), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Time Series in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0