05-16-2006 10:04 AM
05-17-2006 01:19 PM
Hello PMCR
I have looked around and there does not seem to be any other LabVIEW VIs that can do a power fit as fast as the one you are currently using. There are point by point analysis functions available if you would rather use those.
What is the sign of the exponent? I have found that a very significant offset will not affect the algorithm much if the exponent is positive. I have noticed that the error becomes even less with more points being analyzed.
Steven T.
05-23-2006 11:27 AM
Hi Steven,
Yes, the exponent is usually positive. Unfortunately, much of our data is taken over a small range, far from the origin, and the fitted power can be quite affected by a large offset.
However, I've come up with a way around the problem: take the numerical derivative of the data, thereby getting rid of the offset, and fit the power law to that. It requires some smoothing, but the results seem to be fairly accurate.
Thanks for your help,
Patrick