gaussian


gaussian, a MATLAB 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 information on this web page is 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:

gaussian_test

gaussian_2d, a MATLAB code which evaluates a general Gaussian function of a 2D argument.

hermite_polynomial, a MATLAB code which evaluates the physicist's Hermite polynomial, the probabilist's Hermite polynomial, the Hermite function, and related functions.

Source Code:


Last modified on 10 May 2020.