gaussian
gaussian,
a Python code which
evaluates the Gaussian function and its derivatives.
A formula for the Gaussian function at the point x is:
g(x,mu,sigma) = 1/sigma/sqrt(2*pi) * exp ( -(x-mu)^2/2/sigma^2)
where mu the mean value, and sigma is the standard deviation.
Licensing:
The computer code and data files made available on this web page
are distributed under
the MIT license
Languages:
gaussian is available in
a MATLAB version and
an Octave version and
a Python version.
Related Data and Programs:
Source Code:
-
gaussian_mu.png,
a plot of the Gaussian function for various values of mu.
-
gaussian_n0.png,
a plot of the Gaussian function g(n=0,x,mu=0,sigma=1).
-
gaussian_n1.png,
a plot of the Gaussian function g(n=1,x,mu=0,sigma=1).
-
gaussian_n2.png,
a plot of the Gaussian function g(n=2,x,mu=0,sigma=1).
-
gaussian_n3.png,
a plot of the Gaussian function g(n=3,x,mu=0,sigma=1).
-
gaussian_n4.png,
a plot of the Gaussian function g(n=4,x,mu=0,sigma=1).
-
gaussian_n5.png,
a plot of the Gaussian function g(n=5,x,mu=0,sigma=1).
-
gaussian_sigma.png,
a plot of the Gaussian function for various values of sigma.
Last modified on 30 September 2022.