The position of the peak is limited by the resolution of the DFT/FFT and its estimation can be improved using quadratic interpolation.
The general equation for a parabola is given by
Considering the parabola at points
yields 3
equations,
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
Solve for :
Solve for using
:
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
Finally, the height at peak is given by
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
Another way (Dan Ellis)