Interpolate 1D Fourier VI
- Updated2025-07-30
- 3 minute(s) read
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.

Inputs/Outputs
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.
n
—
n is the interpolation size or interpolation factor as determined by the setting of type.
dt in
—
dt in computes dt out depending on the interpolation settings n and type.
type
—
type determines how to use n in determining the interpolation size.
Y
—
Y is the output array of interpolated values.
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.
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).
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
X
—
n
—
dt in
—
type
—
Y
—
interpolation size
—
dt out
—