Second derivative of Gaussian function
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I would like to be able to get the second derivative of the Gaussian function which can be described as
Gaussian=yo+(A*Const/w*(exp(-log(2)*((X-c)./w).^2)); where Const=sqrt(log(2)/pi)
Can I use the differentiate function for this?
Thanks in advance.
0 Commenti
Risposte (1)
Andrew Newell
il 10 Mag 2011
Sure:
syms yo A w X c
Gaussian=yo+A/w*exp(-((X-c)/w)^2);
diff(Gaussian,w,2)
I have cleaned up some redundancy in your expression.
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!