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.


icon

Inputs/Outputs

  • c1ddbl.png X

    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.

  • ci32.png n

    n is the interpolation size or interpolation factor as determined by the setting of type.

  • cdbl.png dt in

    dt in computes dt out depending on the interpolation settings n and type.

  • cu16.png 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
  • i1ddbl.png Y

    Y is the output array of interpolated values.

  • ii32.png interpolation size

    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.

  • idbl.png dt out

    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).

  • ii32.png error

    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.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Interpolation\1D Fourier Interpolation.vi