DoG, fit first derivative of Gaussian

Fits first derivative of Gaussian to x,y-data
199 téléchargements
Mise à jour 6 fév. 2019

Afficher la licence

[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

Citation pour cette source

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. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
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