11-16-2018 09:36 AM
Hi,
I have a problem with definite integration in labview. I have an array of data(simple numeric, to 0 at 50, then 50 to - 30,than - 30 to 20, 20 to 0...)generating a triangular signal. I have calculated the start and end point of each triangle and now I want to built an array of every area of this triangles. So I have used the X(t) Integral(i can't simply do ((b x h) /2))where as input I put the data from the array, the dt is 0,01(fc=100Hz), for the initial condition all the start point of triangles and as final condition all end point of triangles.
The X(t) Integral function doesn't give me an array containing each area as I want. I would obtain a single value for each definite integral. How does this function really work? There are other way to built an array of areas knowing every start/final point for using definite integral?
Help please
Solved! Go to Solution.
11-16-2018 09:52 AM
Use the Numeric Integration function. You will have to create your subarrays for each triangle and then use this function. A simple FOR loop should do the job.
11-16-2018 01:45 PM
Thank you so much it seems to work.