File Exchange

image thumbnail

Peak Interpolation

version 1.0 (4.12 KB) by

Estimates the location and magnitude of the peak of a continuous function between samples.

16 Downloads

Updated

View License

Sometimes it is important to be able to estimate the peak of a sampled continuous function between the samples. This is called subsample peak interpolation and is used in radar, delay estimation, and communication. Typically one fits a model to the sampled data and then finds the maximum of the model. Two models that I have used are parabolas and Gaussian curves. Both have three parameters and can be fit exactly to three samples (even if the samples are not evenly spaced), and, as a bonus, closed form solutions exist for parameters. This package to demonstrate this procedure, including two examples. One demonstrates finding the peak of a function with unevenly spaced samples. The other shows an example of delay estimation to subsample accuracy.

Comments and Ratings (2)

Adam

Adam (view profile)

Tolga Ozkurt

this is a great to code for the detection of a peak and its width.

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video