Showing results for 
Search instead for 
Did you mean: 

Trapezoidal fit in LabVIEW



I want to select a trapezoidal curve fit for my set of data. The data points are showed in the picture below.


Is there any way to get a trapezoidal best fitting curve in LabVIEW? And is there a way to calculate the area under this trapezoidal best fitting curve?


Thanks in advance,





0 Kudos
Message 1 of 2

You can use "nonlinear curve fit". Follow the help and create a VI model with a few parameters depending on symmetries (amplitude, offset (if any); four key x-positions (or less if the sides are mirror symmetric)). Once you have the parameters, calculating the area is simple geometry, right?


You can find more detailed tips e.g. here.

0 Kudos
Message 2 of 2