Fits 1D or 2D equidistantly spaced data to the 0th order Gaussian beam and returns the HWHM (half-width half-maximum) estimation in pixels.
Even though the fitting is performed by Matlab's own 'fit' function, the secret to a reasonable fit is a proper input of initial parameters. This is where the 'smart' part happens. It provides a reasonable estimation of the amplitude, noise floor, beam center coordinates and width based on the statistical distribution of data, not by merely taking maximum or minimum points etc. This makes the fitting faster and less ambiguous, especially in noisy data.
Citar como
Kristupas Tikuišis (2024). fitgaussbeam (https://www.mathworks.com/matlabcentral/fileexchange/113230-fitgaussbeam), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.