ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extrapolating Data

I am having trouble trying to extrapolate data to zero. I am
gathering data that doesn't quite reach zero on the x-axis. I also
need to display what the x-value is at y=0. Any hints on how to do
this. Thanks!
Message 1 of 2
(3,722 Views)
Sure! I'm not sure if you need the Full Development System or Advanced Analysis VIs, but the VI you are looking for is in Functions -> Mathematics -> Curve Fitting -> Polynomial Interpolation.VI. What this VI will do is take an array of X and Y values, and then an X value that you want to interpolate/extrapolate. The VI will interpolate if the X value is within the X values of the input, or extrapolate if it is not. It will return the Y value at that X value.

Since you want the Y, just switch the Y and X values.

Mark
0 Kudos
Message 2 of 2
(3,722 Views)