DewDSPMasterNET
NearestMinimum Routine
Summary
Find the nearest minumum.

Unit
SignalUtils

Declaration
Function NearestMinimum(Data: TVec; var Index: integer): boolean;

Description
Converge to the nearest minimum of Data, if the start position is at Data[Index]. Returns the position of the found minimum in Index. The function returns True if a True minimum was found: Value[i-1] > Min[i] < Value[i+1]. The first and last sample can not be True minimums.
Categories
Signal statistics

Copyright 2008 Dew Research
http://www.dewresearch.com