Code covered by the BSD License  

Highlights from
Clipping Indicator

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 6.46 KB File ID: #28115

Clipping Indicator

by

 

02 Jul 2010 (Updated )

Indicates chunks of time records that may be clipped.

| Watch this File

File Information
Description

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.

Acknowledgements

Find Clipped Trials and Findseq inspired this file.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
10 Nov 2010

Fixed bug in listing the clipped indices. Number of consecutive values can now be 1.

Contact us