How to do a gaussian fit

08-23-2010, 11:52 AM
Hi everyone,

I would like your help..

I have a data set with the data of a gaussian function of two variables(x and y). I need to fit these data set to gaussian function to get the amplitude, mean and sigma values. Do anyone know how to do it using the functions into numerical recipes. ??

I read something about nonlinear models and maybe on this way is possible to do the fitting.

Thanks very much.