Summary
Find the nearest zero crossing.
Unit
SignalUtils
Declaration
Procedure NearestZeroCrossing(Data: TVec; var Pos: TSample; out Y: TSample; LinInterpolate: boolean = True);
Description
Converge to the nearest zero crossing of Data, if the start position is at Data[Pos]. Return the position of the found zero crossing in Pos and amplitude in Y. Use linear interpolation, if LinInterpolate is True, to determine the position of the actual intersection of the Data time series with zero. Use Y to determine how close the interpolation came . Y will be zero in case of linear interpolation.
Categories
Signal statistics| Copyright 2008 Dew Research |
http://www.dewresearch.com