From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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?
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?