The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: 2D gaussian fitting using Surface Fitting Tool
Replies: 11   Last Post: Dec 8, 2016 8:27 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Shu-huai ZHANG

Posts: 2
Registered: 6/14/10
Re: 2D gaussian fitting using Surface Fitting Tool
Posted: Jun 14, 2010 10:56 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, Tim Balmer:

I am a newcomer about MATLAB. Now want to do the same thing like you.
Could you give me some help?

Thanks a lot.

"Tim Balmer" <> wrote in message <hukkmu$pcd$>...
> 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!

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.