08-15-2005 08:55 PM
08-15-2005 09:46 PM
Sound like you need to do a piecewise integration. Find the area under the line between point 1 and point 2, between point 2 and point 3, between point 3 and point 4, and so on. Then sum all these results.
Mike...
08-16-2005 03:34 AM
Using the trapezoid method, the numerical integration is rather direct.
See the attached vi.
You can't get the function described by the X and Y arrays. You need to know the function from start ! However, you can always fit a function to the data. Polynomial curve fitting is quite popular. Of course this is something you could have done : fit a polynomial, then integrate it. With a large number of points (such as yours), the result will not be better than the trapezoid method.
08-16-2005 09:54 AM