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: 2D gaussian fitting using Surface Fitting Tool
Replies: 10   Last Post: Jan 20, 2014 11:10 AM

Advanced Search

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

Posts: 1
Registered: 10/22/13
Re: 2D gaussian fitting using Surface Fitting Tool
Posted: Oct 22, 2013 10:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Tuesday, June 8, 2010 1:33:19 AM UTC-4, Tim Balmer wrote:
> I'm trying to fit a 2D gaussian to a surface using the Surface Fitting Tool. I choose the custom equation option and enter this formula: A*exp(-x^2/(2*sigmax^2)-y^2/(2*sigmay^2))
> I think that either my equation is wrong or I am not using the Surface Fitting Tool properly because it generates a flat surface that doesn't fit at all and has a negative R-square value.
> Any help would be greatly appreciated!
> Thanks!

Hi Tim,

Thanks for simplifying the steps.

By the way- "how to call sftool"?

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.