Page 1 of 1

About TCurveFittingFunction?

Posted: Mon Aug 07, 2006 3:25 am
by 9232537
When I get the polynomial coefficients using TCurveFittingFunction, I can't understand.

For example, I have a datasource: (y = 5 + 3*x + 2 * x^2)
1,10
3,32
6,95
8,157
10,235

Using the TCurveFittingFunction, I get the fitting polynomial:
y = 0*x + 7*x^2 + 2*x^3
It's not the same as (y = 5 + 3*x + 2 * x^2).

Why?

Posted: Mon Aug 07, 2006 9:12 am
by 9238722
Hi

The curvefitting fits normalised data. That is Y-MinY and X-MinX (In your case Y-10 and X-1). Re-inserting this into the fitted polynomial should yield the original equation.

Regards Jørgen

To Berntsen:

Posted: Mon Sep 11, 2006 3:49 am
by 9232537
Thanks.

I got it.

Posted: Tue Sep 19, 2006 6:40 pm
by 9347181
Hi Gas0189,
Could you possibly show me how to do this? (Not a Math Genie)

Thanks!!
Regards,
CCRyder