interpft
1-D interpolation using the FFT method.
📝Syntax
y = interpft(x, ny)
y = interpft(x, ny, dim)
📥Input Arguments
Parameter Description
x a vector or matrix of samples of a periodic function.
ny the number of output samples (at least the number of input samples).
dim the dimension along which to interpolate.
📤Output Arguments
Parameter Description
y the resampled data.
📄Description

y = interpft(x, ny) resamples x to ny equally spaced points using the Fourier transform, assuming x is periodic.

💡Examples
y = interpft([1 2 3 4], 8)
🔗See Also
interp1
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub