Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
FMGAUSSFIT performs a gaussian fit on 3D data (x,y,z).
[fitresult,..., rr] = fmgaussfit(xx,yy,zz) uses ZZ for the surface
height. XX and YY are vectors or matrices defining the x and y
components of a surface. If XX and YY are vectors, length(XX) = n and
length(YY) = m, where [m,n] = size(Z). In this case, the vertices of the
surface faces are (XX(j), YY(i), ZZ(i,j)) triples. To create XX and YY
matrices for arbitrary domains, use the meshgrid function. FMGAUSSFIT
uses the lsqcurvefit tool, and the OPTIMZATION TOOLBOX. The initial
guess for the gaussian is places at the maxima in the ZZ plane. The fit
is restricted to be in the span of XX and YY.
See:
http://en.wikipedia.org/wiki/Gaussian_function
Examples:
To fit a 2D gaussian:
[fitresult, zfit, fiterr, zerr, resnorm, rr] =
fmgaussfit(xx,yy,zz);
See also SURF, OPTIMSET, LSQCURVEFIT, NLPARCI, NLPREDCI.
Cita come
Nathan Orloff (2026). Fit 2D Gaussian with Optimization Toolbox (https://it.mathworks.com/matlabcentral/fileexchange/41938-fit-2d-gaussian-with-optimization-toolbox), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: gaussfitn, Revising sunspot numbers since the times of Galileo, SpotsInNucleiBot
Informazioni generali
- Versione 1.2.0.0 (2,55 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
