Sub-Sample Peak Fitting 2D
This small contribution is useful in cases where you search for the position of a peak within an intensity matrix (correlation or energy fields) of low resolution. Since this is only a 2nd-order-fit the sub-sample accuracy will only be acceptable as long as the peak area is 'smooth' around the peak location. This is not an exact solution, since it does not consider any underlying signal characteristics.
Sample usage: % 2d-gauss: center=19.5; sigma=5
>> M = exp(-((1:30) - 19.5).^2/(2*5^2));
>> P = peakfit2d(M'*M);
>> disp(P);
19.5050 19.5050
Cita come
Eric (2026). Sub-Sample Peak Fitting 2D (https://it.mathworks.com/matlabcentral/fileexchange/26504-sub-sample-peak-fitting-2d), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |