comparison Code/Descriptors/yin/private/src/minparabolic.m @ 0:ea0c737c6323

first commit
author Dawn Black <dawn.black@eecs.qmul.ac.uk>
date Thu, 26 Jul 2012 14:46:25 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ea0c737c6323
1 % [y,idx] = minparabolic(x) - locate minima using parabolic interpolation
2 %
3 % x: input vector
4 % y: same as x, with local minima replaced by interpolated minima
5 % idx: position of interpolated minima (fractionary)
6 %
7 % At each local minimum of x, that sample and its neighbors are used to
8 % determine a parabola. The minimum of the parabola is used as the new
9 % minimum value, the abscissa of the minimum is used as its position.