08-08-2013 06:16 AM - edited 08-08-2013 06:16 AM
Hello to all, I am plotting the data acquired from the system as amplitude v/s time on XY graph. My task is to calculate are under the graph and am using integrator tool to achieve this. However, feel that am not using correctly as answer is not matching with expected value. For example, I have plotted y=x function and as per the definition area is equal to 0.5*height*base for area under the graph. It is not matching, kindly help as I want to find out area under the curve for any two points of X-axis.
08-08-2013 06:42 AM
The integration gets accurate in your case if you change the integration method to 'trapezoidal' instead of the default 'Simpson's Rule'.
Simpson's Rule probably doesnt work because you don't provide suitable Initial and Final conditions. This method needs an assumption about the borders of the integration interval.
Cheers
Edgar
08-08-2013 08:48 AM
yes, you are right.Now need to find area between two particular X-axis points.
Thanks a lot.
08-12-2013 07:59 AM
Is there any way to calculate if dt is not fixed???
08-12-2013 09:46 AM
Yes. Use the Uneven Numeric Integration VI.