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: fitting ( cftool )
Replies: 5   Last Post: Oct 5, 2015 9:26 AM

Advanced Search

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

Posts: 18,038
Registered: 12/7/04
Re: fitting ( cftool )
Posted: Dec 9, 2012 10:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"ariel " <> wrote in message
> im trying to do a fitting between a vector and a function .
> my vector is a intensity summed by 20 degree angle (160-180) as a function
> of the beam radius, as the following pics describe : this is the picture :
> the imagesc pic after cutting by angle plus intensity graph by radius (
> the angle is summed ) :
> my try to to do fitting with cftool :
> the function i try to do fitting with : sin(b*sin(atan(x./0.05)).^2).^2+c
> which i took from theory .
> as you can see the fitting is total joke, and ideas ?

1) My guess is that the Curve Fitting window told you that there was some
difficulty with the fit. If so, what did it say?

2) How certain are you of your function? From the image of your data it
looks more like a sinusoidal times a quadratic or something similar. Taking
sine of sine of arctangent seems odd to me.

Steve Lord
To contact Technical Support use the Contact Us link on

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.