Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Linear Interpolation VI

LabVIEW 8.6 FPGA Module Help
June 2008

NI Part Number:
371599D-01

»View Product Info

Owning Palette: Utilities VIs

Installed With: FPGA Module

Performs linear interpolation to approximate a function evaluation at an arbitrary location in an interval between two known points. The data type you wire to y0 determines the output y data type.

The maximum input word length is 16 bits.

Details  

y0 is the value of the function at the interval endpoint corresponding to x equals zero.
y1 is the value of the function at the interval endpoint corresponding to x equals one. y0 to y1 forms an interval over which to interpolate.
x specifies the evaluation point relative to the interval y0 <= y < y1). x is a fixed-point number in the range 0 <= x < 1. The data type for x is limited to <±,16,0>. Extra fractional bits are coerced to 16 fractional bits at the VI boundary using round-to-nearest-even mode.
y is the interpolated function evaluation.

y = (y1y0)x + y0

Linear Interpolation Details

The VI uses truncation as the output rounding mode.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit