Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: get out fit coefficient
Replies: 3   Last Post: Nov 14, 2012 9:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 6,253
Registered: 2/7/05
Re: get out fit coefficient
Posted: Nov 13, 2012 10:18 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 11/13/2012 8:36 PM, Greg Heath wrote:
> "Paul " <pmcropp@gmail.com> wrote in message <k7upda$1n9$1@newscl01ah.mathworks.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 would have helped if OP said how they generated 'f'


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.