# Find clipped trials in matlab

The following Matlab project contains the source code and Matlab examples used for find clipped trials.
%function ClipTrs=FindClipTrs(curADMat,nConsecSampCutoff)
%
%Given an input AD matrix divided into trials, this finds trials where
%clipping occurs.