Interpolate 1D Fourier VI

Owning Palette: Interpolation & Extrapolation VIs

Requires: Full Development System

Performs interpolation by transforming the array X into the frequency domain, zero-padding and scaling appropriately for the interpolation factor you want and to maintain correct symmetry in the frequency domain, and then transforming back into the time domain to form the output interpolated array Y out.

Example

 Add to the block diagram  Find on the palette
X is the array of tabulated values to be interpolated. It is assumed that the data in X are equally spaced samples along its x-axis.
n is the interpolation size or interpolation factor as determined by the setting of type.
dt in computes dt out depending on the interpolation settings n and type.
type determines how to use n in determining the interpolation size.

0interpolation size—output size = n
1interpolation factor—output size = n * size of X
Y is the output array of interpolated values.
interpolation size returns the size of the interpolated output array Y. If type is interpolation size, interpolation size = n. If type is interpolation factor, interpolation size = n * size of X.
dt out is set to dt in * N/m, where N is the size of the input array Y in, and m is the interpolation size (determined by n and type).
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Example

Refer to the 1D Fourier Interpolation VI in the labview\examples\Mathematics\Interpolation directory for an example of using the Interpolate 1D Fourier VI.

 Open example  Find related examples