function evalgaussfit

Evaluate a gaussfit along a vector of x values.

Syntax
result = evalgaussfit(X, fit)

Arguments
X:   A vector of x values at which to evaluate the gaussian fit
fit:   The gaussian fit, as returned by the gaussfit function


Returns
A vectors, same length as X, with the gaussian evaluated at the X positions supplied.

See also
function gaussfit