"Nasser M. Abbasi" <firstname.lastname@example.org> wrote in message news:email@example.com... > On 11/13/2012 8:36 PM, Greg Heath wrote: >> "Paul " <firstname.lastname@example.org> wrote in message >> <email@example.com>... >>> Is there a way to get out the value for "c1" from my Gaussian fit? >>> >>>>> f >>> f = >>> General model Gauss1: >>> f(x) = a1*exp(-((x-b1)/c1)^2) >>> Coefficients (with 95% confidence bounds): >>> a1 = 98.03 (85.67, 110.4) >>> b1 = 2.225 (2.225, 2.226) >>> c1 = 0.005062 (0.004324, 0.005799) >>> >>> Thanks. >> >> I don't understand the question. If you have data the estimates are >> >> a1 = max, b1 =mean, c1 = std dev. >> >> Hope this helps >> > > I assumed he meant how to read it from 'f' > > It should just be f.c1 since 'f' looks like a struct.
It's a cfit object from Curve Fitting Toolbox, but that's sufficiently struct-like that "f.c1" works.
> It would have helped if OP said how they generated 'f'
My guess is either from the Curve Fitting Tool CFTOOL: