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: Curve fitting - retrieve original values after centering and scaling
Replies: 4   Last Post: Jul 30, 2013 12:19 PM

Advanced Search

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

Posts: 4
Registered: 12/10/12
Curve fitting - retrieve original values after centering and scaling
Posted: Jul 15, 2013 11:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a problem with the curve fitting toolbox. I want to fit a curve through measured dispersion points of a fiber to get the higher orders of dispersion. The dispersion is generalliy defined as:

D(w) = beta1 + beta2(x) + beta3./2.*(x^2) + ...

where beta1, beta2, beta3, ... are the values I want. Looks like a simple polynomial to me. However when I put the data into cftool and make a fit it warns me: "Equation is badly conditioned. Remove repeated data points or try centering and scaling".

But scaling obviously changes the fitting parameters, which is what I want. How can I rescale the system in order to get the "real" beta1, ... values from the scaled polynomial coefficients p1, p2, ...?

This is really a huge problem for me atm!


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.