02-06-2006 02:34 PM
02-06-2006 03:09 PM
02-06-2006 03:18 PM
02-06-2006 03:37 PM
02-07-2006 09:33 AM
High-order polynomials are notoriously ill-behaved away from the data points used for the best-fit. Did you ever try plotting that polynomial with, say, 20 points between the points used to define the poly? You end up with w/ at least two distinct problems. One, the high order dictates a large # of inflection points, producing lots and lots of ziggy-zaggies. Two, round-off and truncation errors are magnified tremendously.
Anyway, have you considered using the cubic spline technique, or even a humble linear interpolation lookup table? Chaining two of these together, one for each mapping, can often give surprisingly good results. Most real-world device performance curves or calibration curves tend to be pretty well-mannered anyway, in my experience. The main exceptions where I've used single polynomials (and rarely higher than 3rd order) are where there's a solid theory to predict the curve shape/polynomial order, and there are very very few actual data points present in the cal curve.
-Kevin P.
02-07-2006 09:54 AM
02-07-2006 10:14 AM
02-07-2006 10:28 AM