Clipping is the main program. There are three inputs: y is the time record, threshhold_value is the clipping threshhold, and threshhold_samples is the number of consecutive data points exceeding the threshhold_value to indicate that the data is clipped.
The program returns two cells arrays (clipped_max, clipped_min) indicating the length and indices of the clipped data. clipped_max indicates data chunks greater than threhhold_value.
clipped_min indicates data chunks less than -1*threhhold_value.
Edward Zechmann (2022). Clipping Indicator (https://www.mathworks.com/matlabcentral/fileexchange/28115-clipping-indicator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: FINDSEQ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!