DoG, fit first derivative of Gaussian

Fits first derivative of Gaussian to x,y-data
199 Downloads
Aktualisiert 6. Feb 2019

Lizenz anzeigen

[ALPHA,SIGMA, AMP] = DOG(X,Y) fits first derivative of Gaussian to
x,y-data by minimizing the sum of squared residuals. The output parameter
ALPHA controls amplitude and SIGMA is the standard deviation of the
Gaussian distribution and controls width of the resulting curve, given by
y = normpdf(x,0,SIGMA).*x.*ALPHA. AMP is the peak amplitude.

Is often used in research on serial dependence, e.g. doi:10.1038/nn.3689

Zitieren als

Tobias Johansson (2024). DoG, fit first derivative of Gaussian (https://www.mathworks.com/matlabcentral/fileexchange/70203-dog-fit-first-derivative-of-gaussian), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2018b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.3

Adjusted example so as not to rely on Statistics Toolbox

1.0.2

Removed reliance on Statistics Toolbox

1.0.1

Added image

1.0.0