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: To increase the number of significant digits in the curve fitting tool box
Replies: 2   Last Post: Jan 22, 2013 12:06 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: To increase the number of significant digits in the curve fitting tool box
Posted: Jan 22, 2013 12:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Janani Chander" <> wrote in message
> Hi,
> I would like to if there is anyway to increase the number of significant
> digits in curve fitting. I tried to fit and got a fittiong co-efficient
> as below.
> inear model Poly1:
> f(x) = p1*x + p2
> where x is normalized by mean 0.0002051 and std 0.0002143
> Coefficients (with 95% confidence bounds):
> p1 = 8.119e-05 (8.043e-05, 8.195e-05)
> p2 = -43.82 (-43.82, -43.82)
> But for the confidence bound is the same as co efficient, is there anyway
> i can increase the significant digits in the parameters?

Note that this is simply _displaying_ the coefficient using a small number
of decimal places. The actual coefficients are stored in the fit object in
double precision; save/export the fit object to the workspace and use the
COEFFVALUES function to retrieve them. The CONFINT function will give you
the confidence bounds. You may also need to change the display FORMAT.

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.