5.0

5.0 | 1 rating Rate this file 40 downloads (last 30 days) File Size: 4.12 KB File ID: #24465

Peak Interpolation

by Travis Wiens

 

17 Jun 2009

Code covered by the BSD License  

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

Download Now | Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.4 (R2007a)
Zip File Content  
Other Files license.txt,
peak_interp_0_01/crit_interp_g.m,
peak_interp_0_01/crit_interp_p.m,
peak_interp_0_01/example1.m,
peak_interp_0_01/example2.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
26 Feb 2010 Tolga Ozkurt

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
communications Travis Wiens 18 Jun 2009 09:48:12
mathematics Travis Wiens 18 Jun 2009 09:48:12
measurement Travis Wiens 18 Jun 2009 09:48:12
optimization Travis Wiens 18 Jun 2009 09:48:12
signal processing Travis Wiens 18 Jun 2009 09:48:12
dsp Travis Wiens 18 Jun 2009 09:48:12
peak interpolation Travis Wiens 18 Jun 2009 09:48:12
interpolation Travis Wiens 18 Jun 2009 09:48:13
radar Travis Wiens 18 Jun 2009 09:48:13
gaussian Travis Wiens 18 Jun 2009 09:48:13
parabola Travis Wiens 18 Jun 2009 09:48:13
interpolation Siro 15 Sep 2009 15:05:46
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com