04-28-2018 10:28 AM
Hi,
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,
Dries
04-28-2018 12:13 PM - edited 04-28-2018 12:16 PM
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.